MCPcopy Index your code
hub / github.com/easydiffusion/easydiffusion / redo

Method redo

ui/media/js/image-editor.js:381–383  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

379 this.rewindTo(this.rewind_index + 1)
380 }
381 redo() {
382 this.rewindTo(this.rewind_index - 1)
383 }
384 rewindTo(new_rewind_index) {
385 if (new_rewind_index < 0 || new_rewind_index > this.events.length) {
386 return // do nothing if target index is out of bounds

Callers 2

image-editor.jsFile · 0.80
keyHandlerMethod · 0.80

Calls 1

rewindToMethod · 0.95

Tested by

no test coverage detected