diff options
author | Tor Andersson <tor@ccxvii.net> | 2023-10-21 18:30:16 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2023-10-21 18:30:16 +0200 |
commit | b691b783a8bf1c285814244c2ab3b04271d477bb (patch) | |
tree | ad55ea92dc4f7c57506007b70db6c098c4afe485 /play.js | |
parent | 58cb429fff2cf4d947d365906dc34dcf21ba2116 (diff) | |
download | andean-abyss-b691b783a8bf1c285814244c2ab3b04271d477bb.tar.gz |
scroll_with_middle_mouse
Diffstat (limited to 'play.js')
-rw-r--r-- | play.js | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -1478,7 +1478,7 @@ function on_blur_space_tip(s) { } function on_click_space_tip(s) { - ui.spaces[s].scrollIntoView({ block:"center", inline:"center", behavior:"smooth" }) + scroll_into_view(ui.spaces[s]) } function sub_card(match, p1) { @@ -1595,4 +1595,3 @@ toggle_zoom = function () { document.getElementById("grid").classList.remove("fit") } -scroll_with_middle_mouse("main") |