Commit 59fc718a authored by LoveEevee's avatar LoveEevee

Fix touching settings

parent 879186c3
......@@ -134,7 +134,7 @@ class SettingsView{
settingBox.classList.add("selected")
}
pageEvents.add(settingBox, ["mousedown", "touchstart"], event => {
if(event.which === 1){
if(event.type !== "mousedown" || event.which === 1){
event.preventDefault()
this.setValue(i)
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment