mirror of
https://github.com/storytold/photocraft.git
synced 2026-10-26 02:47:07 -06:00
Root cause: the layer row's reserved width and indicators, and the Studio themes' lock button, treated a layer as locked only for transparency, position or all. A "Lock image pixels" or artboard lock left the row without its lock icon, and the Studio button drew "unlocked" although clicking it unlocked the layer (simple_lock_toggle checked all five). Fix: add Locks::any() in photocraft-doc and use it in all four places, so every lock shows the icon, as in Photoshop. Tests cover each lock on the row (reserved width and Indicator::Lock) and the Studio button state. Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>