Skip to content

Commit

Permalink
Update entry bar
Browse files Browse the repository at this point in the history
  • Loading branch information
Freymaurer committed Oct 3, 2023
1 parent c7412bc commit df7fb9a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Components/Component.QuickAccess.fs
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down
2 changes: 1 addition & 1 deletion src/Pages/Page.Dicacle.fs
Original file line number Diff line number Diff line change
Expand Up @@ -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 [
Expand Down

0 comments on commit df7fb9a

Please sign in to comment.