From c72dd865148ba511489a74ba4da0a05d80828efb Mon Sep 17 00:00:00 2001 From: familyfriendlymikey Date: Tue, 6 Sep 2022 15:50:11 -0400 Subject: [PATCH] change all capture to force --- app/components/app-community-links.imba | 4 ++-- app/components/app-edit.imba | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/app/components/app-community-links.imba b/app/components/app-community-links.imba index 4543692..7f15843 100644 --- a/app/components/app-community-links.imba +++ b/app/components/app-community-links.imba @@ -75,8 +75,8 @@ tag app-community-links result.push <> <.tip.noclick - @hotkey('down').capture.if(!state.loading)=increment_selection_index - @hotkey('up').capture.if(!state.loading)=decrement_selection_index + @hotkey('down').force=increment_selection_index + @hotkey('up').force=decrement_selection_index > <.tip-hotkey> "Up/Down Arrow" <.tip-content> "Move Selection" diff --git a/app/components/app-edit.imba b/app/components/app-edit.imba index 29191f4..cb82bb9 100644 --- a/app/components/app-edit.imba +++ b/app/components/app-edit.imba @@ -38,7 +38,7 @@ tag app-edit result.push <> <.tip @click=handle_delete - @hotkey('shift+backspace').capture.if(!state.loading)=handle_delete + @hotkey('shift+backspace').force=handle_delete > <.tip-hotkey> "Shift + Backspace" <.tip-content> "Delete Link" @@ -46,7 +46,7 @@ tag app-edit result.push <> <.tip @click=save - @hotkey('return').capture.if(!state.loading)=save + @hotkey('return').force=save > <.tip-hotkey> "Return" <.tip-content> "Update Link" @@ -60,7 +60,7 @@ tag app-edit result.push <> <.tip @click=close - @hotkey('esc').capture.if(!state.loading)=close + @hotkey('esc').force=close > <.tip-hotkey> "Esc" <.tip-content> "Cancel"