From 501670063590422575c70e4fcfd85a55af950790 Mon Sep 17 00:00:00 2001 From: Lanius Trolling Date: Tue, 5 Dec 2023 10:23:34 -0500 Subject: [PATCH] Add touchscreen admonition --- src/main/kotlin/info/mechyrdia/lore/view_map.kt | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/main/kotlin/info/mechyrdia/lore/view_map.kt b/src/main/kotlin/info/mechyrdia/lore/view_map.kt index 510f8d7..9457fbf 100644 --- a/src/main/kotlin/info/mechyrdia/lore/view_map.kt +++ b/src/main/kotlin/info/mechyrdia/lore/view_map.kt @@ -77,6 +77,15 @@ fun ApplicationCall.galaxyMapPage(): HTML.() -> Unit { div(classes = "panel") { id = "modal-box" } } + div { + id = "touchscreen-admonition" + div(classes = "panel") { + p { + +"Unfortunately, touchscreen input is not supported by the interactive Milky Way Galaxy map viewer" + } + } + } + script(src = "/assets/map/data.js") {} script(src = "/assets/map/main.js") {} } -- 2.25.1