mirror of
https://github.com/invoke-ai/InvokeAI.git
synced 2026-04-23 03:00:31 -04:00
fix(ui): do not hide entities when locked
whoops
This commit is contained in:
@@ -301,7 +301,6 @@ export const buildEntityIsHiddenSelector = (entityIdentifier: CanvasEntityIdenti
|
||||
// An entity is hidden if:
|
||||
// - The entity type is hidden
|
||||
// - The entity is disabled
|
||||
// - The entity is locked
|
||||
// - The entity is not a raster layer and we are staging and the option to show only raster layers is enabled
|
||||
if (!entity) {
|
||||
return true;
|
||||
@@ -312,9 +311,6 @@ export const buildEntityIsHiddenSelector = (entityIdentifier: CanvasEntityIdenti
|
||||
if (!entity.isEnabled) {
|
||||
return true;
|
||||
}
|
||||
if (entity.isLocked) {
|
||||
return true;
|
||||
}
|
||||
if (isStaging && showOnlyRasterLayersWhileStaging) {
|
||||
// When staging, we only show raster layers. This allows the user to easily see how the new generation fits in
|
||||
// with the rest of the canvas without the masks and control layers getting in the way.
|
||||
|
||||
Reference in New Issue
Block a user