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

Method runAction

ui/media/js/image-editor.js:658–664  ·  view source on GitHub ↗
(action_id)

Source from the content-addressed store, hash-verified

656 image.src = dataUrl
657 }
658 runAction(action_id) {
659 var action = IMAGE_EDITOR_ACTIONS.find((a) => a.id == action_id)
660 if (action.trackHistory) {
661 this.history.pushAction(action_id)
662 }
663 action.handler(this)
664 }
665 setBrush(layer = null, options = null) {
666 if (options == null) {
667 options = this.options

Callers 1

constructorMethod · 0.95

Calls 1

pushActionMethod · 0.80

Tested by

no test coverage detected