diff options
-rw-r--r-- | play.css | 1 | ||||
-rw-r--r-- | play.js | 3 |
2 files changed, 1 insertions, 3 deletions
@@ -59,7 +59,6 @@ main { background-color: #777; } height: 2550px; background-repeat: no-repeat; background-size: cover; - user-select: none; } #map { background-image: url("map75.jpg") } @@ -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") |