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

Method close

js/selecter.js:487–493  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

485 }
486
487 close() {
488 if (this.imagePlaced) {
489 this.finishPlacing();
490 }
491 this.area.activated = false;
492 this.hide();
493 }
494
495 hide() {
496 this.area.rect.setAttribute('hidden', 'true');

Callers

nothing calls this directly

Calls 2

finishPlacingMethod · 0.95
hideMethod · 0.95

Tested by

no test coverage detected