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

Method tool

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

Source from the content-addressed store, hash-verified

594 this.history.clear()
595 }
596 get tool() {
597 var tool_id = this.getOptionValue("tool")
598 return IMAGE_EDITOR_TOOLS.find((t) => t.id == tool_id)
599 }
600 loadTool() {
601 this.drawing = false
602 this.container.style.cursor = this.tool.cursor

Callers

nothing calls this directly

Calls 1

getOptionValueMethod · 0.95

Tested by

no test coverage detected