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

Method setLeft

js/selecter.js:316–319  ·  view source on GitHub ↗
(v)

Source from the content-addressed store, hash-verified

314 }
315
316 setLeft(v) {
317 this.left = v;
318 this.area.rect.style.left = `${v}px`;
319 }
320
321 setRight(v) {
322 this.right = v;

Callers 7

selectAllMethod · 0.95
adjustPositionMethod · 0.95
placeAtMethod · 0.95
handleMouseDownMethod · 0.95
handleMouseMoveMethod · 0.95
leftKeepRatioMethod · 0.95
drawMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected