From df7fb9aac8baa5288ceb42784bf118516f323e21 Mon Sep 17 00:00:00 2001 From: Kevin F Date: Tue, 3 Oct 2023 22:05:33 +0200 Subject: [PATCH] Update entry bar --- src/Components/Component.QuickAccess.fs | 2 +- src/Pages/Page.Dicacle.fs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Components/Component.QuickAccess.fs b/src/Components/Component.QuickAccess.fs index f77474b..fb66740 100644 --- a/src/Components/Component.QuickAccess.fs +++ b/src/Components/Component.QuickAccess.fs @@ -11,7 +11,7 @@ let private tag (id, input, activate) = Bulma.tag [ prop.title input prop.style [style.cursor.pointer] - prop.onClick (fun _ -> activate id) + prop.onClick (fun _ -> activate input ) prop.children [ Html.code [ prop.style [style.userSelect.none] diff --git a/src/Pages/Page.Dicacle.fs b/src/Pages/Page.Dicacle.fs index 64877fe..70c0104 100644 --- a/src/Pages/Page.Dicacle.fs +++ b/src/Pages/Page.Dicacle.fs @@ -220,7 +220,7 @@ let Main() = ] Bulma.control.div [ // alternative, not tested: https://codepen.io/kylewetton/pen/NeRbvz - if state.Input.ToLower() = "/fireball" then + if state.Input.ToLower() = "/fireball" || state.Input = state.DiceStorage.["fireball"] then Html.div [ prop.style [style.position.fixedRelativeToWindow] prop.children [