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 = [
|
||||
'pastObjects',
|
||||
'futureObjects',
|
||||
'stageScale',
|
||||
'stageDimensions',
|
||||
'stageCoordinates',
|
||||
// 'pastObjects',
|
||||
// 'futureObjects',
|
||||
// 'stageScale',
|
||||
// 'stageDimensions',
|
||||
// 'stageCoordinates',
|
||||
'cursorPosition',
|
||||
];
|
||||
|
||||
@ -86,9 +86,11 @@ const rootPersistConfig = getPersistConfig({
|
||||
...systemBlacklist,
|
||||
...galleryBlacklist,
|
||||
],
|
||||
throttle: 500,
|
||||
debounce: 500,
|
||||
});
|
||||
|
||||
// console.log(rootPersistConfig)
|
||||
|
||||
const persistedReducer = persistReducer(rootPersistConfig, rootReducer);
|
||||
|
||||
// Continue with store setup
|
||||
|
Loading…
Reference in New Issue
Block a user