mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
Debounce > 300ms
This commit is contained in:
parent
317762861f
commit
f82e82f1bb
@ -28,14 +28,7 @@ import { socketioMiddleware } from './socketio/middleware';
|
|||||||
* The necesssary nested persistors with blacklists are configured below.
|
* The necesssary nested persistors with blacklists are configured below.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
const genericCanvasBlacklist = [
|
const genericCanvasBlacklist = ['cursorPosition'];
|
||||||
// 'pastObjects',
|
|
||||||
// 'futureObjects',
|
|
||||||
// 'stageScale',
|
|
||||||
// 'stageDimensions',
|
|
||||||
// 'stageCoordinates',
|
|
||||||
'cursorPosition',
|
|
||||||
];
|
|
||||||
|
|
||||||
const inpaintingCanvasBlacklist = genericCanvasBlacklist.map(
|
const inpaintingCanvasBlacklist = genericCanvasBlacklist.map(
|
||||||
(blacklistItem) => `canvas.inpainting.${blacklistItem}`
|
(blacklistItem) => `canvas.inpainting.${blacklistItem}`
|
||||||
@ -86,7 +79,7 @@ const rootPersistConfig = getPersistConfig({
|
|||||||
...systemBlacklist,
|
...systemBlacklist,
|
||||||
...galleryBlacklist,
|
...galleryBlacklist,
|
||||||
],
|
],
|
||||||
debounce: 500,
|
debounce: 300,
|
||||||
});
|
});
|
||||||
|
|
||||||
// console.log(rootPersistConfig)
|
// console.log(rootPersistConfig)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user