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

Method insert

js/inserter.js:169–172  ·  view source on GitHub ↗
(x, y, w, h)

Source from the content-addressed store, hash-verified

167 }
168
169 insert(x, y, w, h) {
170 this.main.ctx.drawImage(this.tmpImg, x, y, w, h);
171 this.main.worklog.reCaptureState();
172 }
173
174 cancelChoosing() {
175 this.selector.setAttribute('hidden', '');

Callers 1

finishPlacingMethod · 0.80

Calls 1

reCaptureStateMethod · 0.80

Tested by

no test coverage detected