mirror of
https://github.com/invoke-ai/InvokeAI.git
synced 2026-02-05 07:34:55 -05:00
fix(ui): Apple Pencil requires onPointerUp instead of onClick
With `onClick`, elements w/ a tooltip require a double-tap.
This commit is contained in:
committed by
Kent Keirsey
parent
af5f342347
commit
2a90f4f59e
@@ -8,7 +8,7 @@ const ClearInvocationCacheButton = () => {
|
||||
const { clearInvocationCache, isDisabled, isLoading } = useClearInvocationCache();
|
||||
|
||||
return (
|
||||
<Button isDisabled={isDisabled} isLoading={isLoading} onClick={clearInvocationCache}>
|
||||
<Button isDisabled={isDisabled} isLoading={isLoading} onPointerUp={clearInvocationCache}>
|
||||
{t('invocationCache.clear')}
|
||||
</Button>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user