iVis-at-Bilkent / cytoscape.js-undo-redo

A Cytoscape.js extension to provide an undo-redo framework
MIT License
46 stars 9 forks source link

ur.reset typo #15

Closed shean42 closed 5 years ago

shean42 commented 5 years ago

hi folks,

in the reset function the redoStack is loaded with the undos instead of the redos.

cheers

-- //resets undo and redo stacks instance.reset = function(undos, redos) { this.undoStack = undos || []; this.redoStack = undos || []; }

hasanbalci commented 5 years ago

Fixed in unstable branch and will be active with the next release. @shean42 Can you verify and close the issue? Thanks for catching that.

shean42 commented 5 years ago

looks good, thanks for the update!