MCPcopy Create free account
hub / github.com/devforth/painterro / doClose

Method doClose

js/main.js:500–504  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

498 activate: () => {
499 if (this.initText) this.wrapper.click();
500 const doClose = () => {
501 this.closeActiveTool();
502 this.close();
503 this.hide();
504 };
505
506 if (this.params.onBeforeClose) {
507 this.params.onBeforeClose(this.hasUnsaved, doClose);

Callers

nothing calls this directly

Calls 3

closeActiveToolMethod · 0.95
closeMethod · 0.95
hideMethod · 0.95

Tested by

no test coverage detected