more touch events (just to trigger 'em all)
This commit is contained in:
parent
1ab186a3bc
commit
8e4580e478
@ -1,8 +1,12 @@
|
||||
html, body {
|
||||
overflow-x: hidden;
|
||||
}
|
||||
|
||||
body {
|
||||
margin: 0;
|
||||
background: rgb(39, 34, 39);
|
||||
outline: 0;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
:root{
|
||||
|
1
tile.js
1
tile.js
@ -39,6 +39,7 @@ class Tile
|
||||
this.elem.addEventListener("mouseenter", c => this.on_mouseenter(c));
|
||||
this.elem.addEventListener("mouseleave", c => this.on_mouseleave(c));
|
||||
this.elem.addEventListener("mousedown", c => this.on_click(c));
|
||||
this.elem.addEventListener("touchstart", c => this.on_click(c));
|
||||
}
|
||||
|
||||
reset()
|
||||
|
Loading…
Reference in New Issue
Block a user