mirror of
https://github.com/invoke-ai/InvokeAI.git
synced 2026-01-14 19:08:00 -05:00
fix(ui): sync $isStaging on staging area module init
Fixes a case where the canvas is erroneously interactable after refreshing the page while currently staging.
This commit is contained in:
@@ -62,6 +62,7 @@ export class CanvasStagingAreaModule extends CanvasModuleBase {
|
||||
initialize = () => {
|
||||
this.log.debug('Initializing module');
|
||||
this.render();
|
||||
this.$isStaging.set(this.manager.stateApi.runSelector(selectIsStaging));
|
||||
};
|
||||
|
||||
render = async () => {
|
||||
|
||||
Reference in New Issue
Block a user