Skip to content

Commit

Permalink
hide layer lock on All (fix #224)
Browse files Browse the repository at this point in the history
  • Loading branch information
HJfod committed Feb 20, 2024
1 parent 7050d06 commit eccb150
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/features/TypeInZLayer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ class $modify(TypeInUI, EditorUI) {
lockBtn->setNormalImage(spr);
spr->setAnchorPoint((layerLocked || onAll) ? ccp(.47f, .48f) : ccp(.5f, .2f));

lockBtn->setVisible(m_editorLayer->m_layerLockingEnabled);
lockBtn->setVisible(m_editorLayer->m_layerLockingEnabled && !onAll);
m_currentLayerLabel->setColor(layerLocked ? ccc3(255, 150, 0) : ccc3(255, 255, 255));
}

Expand Down

0 comments on commit eccb150

Please sign in to comment.