Skip to content

Commit

Permalink
deleted old calculation
Browse files Browse the repository at this point in the history
  • Loading branch information
frifrafry committed May 17, 2022
1 parent 410fb07 commit 1a54ad4
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions js/paintBucket.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,6 @@ export default class PaintBucket {
}

this.active = true;
const ptX = (event.clientX - this.main.elLeft()) + this.main.scroller.scrollLeft;
const ptY = (event.clientY - this.main.elTop()) + this.main.scroller.scrollTop;

const cord = [
(event.clientX - this.main.elLeft()) + this.main.scroller.scrollLeft,
(event.clientY - this.main.elTop()) + this.main.scroller.scrollTop,
Expand Down

0 comments on commit 1a54ad4

Please sign in to comment.