mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
fix(ui): fix use all hotkey
This commit is contained in:
parent
ead754432a
commit
90083cc88d
@ -134,13 +134,7 @@ const CurrentImageButtons = () => {
|
|||||||
recallAllParameters(metadata);
|
recallAllParameters(metadata);
|
||||||
}, [metadata, recallAllParameters]);
|
}, [metadata, recallAllParameters]);
|
||||||
|
|
||||||
useHotkeys(
|
useHotkeys('a', handleClickUseAllParameters, [metadata]);
|
||||||
'a',
|
|
||||||
() => {
|
|
||||||
handleClickUseAllParameters;
|
|
||||||
},
|
|
||||||
[metadata, recallAllParameters]
|
|
||||||
);
|
|
||||||
|
|
||||||
const handleUseSeed = useCallback(() => {
|
const handleUseSeed = useCallback(() => {
|
||||||
recallSeed(metadata?.seed);
|
recallSeed(metadata?.seed);
|
||||||
|
Loading…
Reference in New Issue
Block a user