revert adding more events

This commit is contained in:
Jonas Weinz 2019-02-26 13:37:07 +01:00
parent 3ce033cd23
commit 414a24ed17

View File

@ -44,7 +44,6 @@ class Tile
this.elem.addEventListener("mouseenter", c => this.on_mouseenter(c)); this.elem.addEventListener("mouseenter", c => this.on_mouseenter(c));
this.elem.addEventListener("mouseleave", c => this.on_mouseleave(c)); this.elem.addEventListener("mouseleave", c => this.on_mouseleave(c));
this.elem.addEventListener("mousedown", c => this.on_click(c)); this.elem.addEventListener("mousedown", c => this.on_click(c));
this.elem.addEventListener("touchstart", c => this.on_click(c));
} }
reset() reset()