fix(ui): sync canvas layer visibility when staging state changes

This commit is contained in:
psychedelicious
2024-11-01 08:28:08 +10:00
committed by Kent Keirsey
parent 7eed7282a9
commit eb7b559529

View File

@@ -285,6 +285,10 @@ export abstract class CanvasEntityAdapterBase<
this.subscriptions.add(
this.manager.stateApi.createStoreSubscription(selectIsolatedLayerPreview, this.syncVisibility)
);
this.subscriptions.add(
this.manager.stateApi.createStoreSubscription(selectIsolatedStagingPreview, this.syncVisibility)
);
this.subscriptions.add(this.manager.stateApi.createStoreSubscription(selectIsStaging, this.syncVisibility));
this.subscriptions.add(this.manager.stateApi.$filteringAdapter.listen(this.syncVisibility));
this.subscriptions.add(this.manager.stateApi.$transformingAdapter.listen(this.syncVisibility));
this.subscriptions.add(this.manager.stateApi.$segmentingAdapter.listen(this.syncVisibility));