Browse Source

Remove unused property endPosition in box.js

master
LMLB 2 years ago
parent
commit
6c5860e8c6
1 changed files with 0 additions and 2 deletions
  1. +0
    -2
      js-lib/draw/box.js

+ 0
- 2
js-lib/draw/box.js View File

@ -13,7 +13,6 @@ export class DrawBox {
constructor(state) {
this.state = state;
/** @type {?Vector} */ this.startPosition = null;
/** @type {?Vector} */ this.endPosition = null;
}
/** @inheritDoc */
@ -23,7 +22,6 @@ export class DrawBox {
/** @inheritDoc */
move(position) {
this.endPosition = position;
this.state.clearDraw();
drawLine(this.state, this.startPosition, position, true);
drawLine(this.state, this.startPosition, position, false);


Loading…
Cancel
Save