mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
Adds debouncing
This commit is contained in:
parent
eb17dfdeaa
commit
e3735ebb45
@ -29,11 +29,11 @@ import { socketioMiddleware } from './socketio/middleware';
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
const genericCanvasBlacklist = [
|
const genericCanvasBlacklist = [
|
||||||
'pastObjects',
|
// 'pastObjects',
|
||||||
'futureObjects',
|
// 'futureObjects',
|
||||||
'stageScale',
|
// 'stageScale',
|
||||||
'stageDimensions',
|
// 'stageDimensions',
|
||||||
'stageCoordinates',
|
// 'stageCoordinates',
|
||||||
'cursorPosition',
|
'cursorPosition',
|
||||||
];
|
];
|
||||||
|
|
||||||
@ -86,9 +86,11 @@ const rootPersistConfig = getPersistConfig({
|
|||||||
...systemBlacklist,
|
...systemBlacklist,
|
||||||
...galleryBlacklist,
|
...galleryBlacklist,
|
||||||
],
|
],
|
||||||
throttle: 500,
|
debounce: 500,
|
||||||
});
|
});
|
||||||
|
|
||||||
|
// console.log(rootPersistConfig)
|
||||||
|
|
||||||
const persistedReducer = persistReducer(rootPersistConfig, rootReducer);
|
const persistedReducer = persistReducer(rootPersistConfig, rootReducer);
|
||||||
|
|
||||||
// Continue with store setup
|
// Continue with store setup
|
||||||
|
Loading…
x
Reference in New Issue
Block a user