mirror of
https://github.com/jiojciojsioe3/a3cjroijsiojiorj.git
synced 2024-12-23 09:46:15 +08:00
Fix touching settings
This commit is contained in:
parent
879186c313
commit
59fc718a08
@ -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)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user