mirror of
https://github.com/voideditor/void
synced 2026-05-24 09:58:23 +00:00
loading symbol Cmd+K
This commit is contained in:
parent
71dc1ab93e
commit
4bd6f4f8ac
2 changed files with 5 additions and 1 deletions
|
|
@ -26,7 +26,7 @@
|
|||
}
|
||||
|
||||
/* custom speed & easing for loading icon */
|
||||
.codicon-loading,
|
||||
.codicon-loading:not(.codicon-no-default-spin), /* Void changed this as it is literally broken to the !important */
|
||||
.codicon-tree-item-loading::before {
|
||||
animation-duration: 1s !important;
|
||||
animation-timing-function: cubic-bezier(0.53, 0.21, 0.29, 0.67) !important;
|
||||
|
|
|
|||
|
|
@ -54,6 +54,9 @@ export const QuickEditChat = ({
|
|||
setIsStreamingRef(isStreaming)
|
||||
}, [diffareaid, setIsStreamingRef]))
|
||||
|
||||
const loadingIcon = <div
|
||||
className="@@codicon @@codicon-loading @@codicon-modifier-spin @@codicon-no-default-spin text-void-fg-3"
|
||||
/>
|
||||
|
||||
const onSubmit = useCallback(() => {
|
||||
if (isDisabled) return
|
||||
|
|
@ -91,6 +94,7 @@ export const QuickEditChat = ({
|
|||
onAbort={onInterrupt}
|
||||
onClose={onX}
|
||||
isStreaming={isStreamingRef.current}
|
||||
loadingIcon={loadingIcon}
|
||||
isDisabled={isDisabled}
|
||||
className="py-2 w-full"
|
||||
onClickAnywhere={() => { textAreaRef.current?.focus() }}
|
||||
|
|
|
|||
Loading…
Reference in a new issue