tweak(app): delay prompt mode toggle tooltip
This commit is contained in:
@@ -1363,6 +1363,7 @@ export const PromptInput: Component<PromptInputProps> = (props) => {
|
|||||||
<TooltipKeybind
|
<TooltipKeybind
|
||||||
placement="top"
|
placement="top"
|
||||||
gutter={4}
|
gutter={4}
|
||||||
|
openDelay={2000}
|
||||||
title={language.t(mode === "shell" ? "prompt.mode.shell" : "prompt.mode.normal")}
|
title={language.t(mode === "shell" ? "prompt.mode.shell" : "prompt.mode.normal")}
|
||||||
keybind={command.keybind(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"
|
class="size-full flex items-center justify-center"
|
||||||
|
|||||||
Reference in New Issue
Block a user