mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
feat(ui): temp disable history on CL
This commit is contained in:
parent
20e6a57cf1
commit
5691829de6
@ -1007,6 +1007,8 @@ export const controlLayersUndoableConfig: UndoableOptions<ControlLayersState, Un
|
||||
return null;
|
||||
},
|
||||
filter: (action, _state, _history) => {
|
||||
// TODO(psyche): TEMP OVERRIDE
|
||||
return false;
|
||||
// // Ignore all actions from other slices
|
||||
// if (!action.type.startsWith(controlLayersSlice.name)) {
|
||||
// return false;
|
||||
@ -1016,6 +1018,6 @@ export const controlLayersUndoableConfig: UndoableOptions<ControlLayersState, Un
|
||||
// if (layerBboxChanged.match(action)) {
|
||||
// return false;
|
||||
// }
|
||||
return true;
|
||||
// return true;
|
||||
},
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user