Browse Source

tweak(app): delay prompt mode toggle tooltip

David Hill 6 months ago
parent
commit
cfea5c73de
1 changed files with 1 additions and 0 deletions
  1. 1 0
      packages/app/src/components/prompt-input.tsx

+ 1 - 0
packages/app/src/components/prompt-input.tsx

@@ -1363,6 +1363,7 @@ export const PromptInput: Component<PromptInputProps> = (props) => {
                   <TooltipKeybind
                     placement="top"
                     gutter={4}
+                    openDelay={2000}
                     title={language.t(mode === "shell" ? "prompt.mode.shell" : "prompt.mode.normal")}
                     keybind={command.keybind(mode === "shell" ? "prompt.mode.shell" : "prompt.mode.normal")}
                     class="size-full flex items-center justify-center"