Skip to content

Commit 1a54ad4

Browse files
committed
deleted old calculation
1 parent 410fb07 commit 1a54ad4

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

js/paintBucket.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,6 @@ export default class PaintBucket {
3434
}
3535

3636
this.active = true;
37-
const ptX = (event.clientX - this.main.elLeft()) + this.main.scroller.scrollLeft;
38-
const ptY = (event.clientY - this.main.elTop()) + this.main.scroller.scrollTop;
39-
4037
const cord = [
4138
(event.clientX - this.main.elLeft()) + this.main.scroller.scrollLeft,
4239
(event.clientY - this.main.elTop()) + this.main.scroller.scrollTop,

0 commit comments

Comments
 (0)