mirror of
https://github.com/storytold/photocraft.git
synced 2026-10-17 20:59:43 +02:00
* feat(engine): Ctrl+, toggles a layer's visibility and / its transparency lock Photoshop's Ctrl+, (Cmd+, on macOS) hides the selected layers and, once they are all hidden, shows them again: its Layer menu item then reads Show Layers. layer.hideLayers now does the same, so the key toggles: it shows them only when every targeted layer is hidden. The / key toggles Lock Transparent Pixels, as the Layers panel's first lock button does (layer.toggleLockTransparency). With several layers selected, any unlocked one means lock them all; the Background, which can't take this lock, is left out. Each press is one undoable step. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * feat(engine): Ctrl+\ targets the layer mask and Ctrl+Alt+2 loads luminosity Photoshop's Ctrl+\ (Cmd+\) targets the active layer's mask, as clicking its thumbnail does, beside Ctrl+2 for the composite (channel.target.layerMask; greyed when the layer has no mask). Its Ctrl+Alt+2 (Cmd+Option+2) loads the image's luminosity as a selection, the Ctrl-click on the composite channel (select.loadLuminosity). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * feat(engine): Ctrl+Alt+Backspace fills from history Photoshop's Ctrl+Alt+Backspace (Cmd+Option+Delete) fills the selection, or the layer, from the History Brush's source state. edit.fillHistory is edit.fill with contents "history": the oldest state still held, unless "state" names another. It joins the other fill keys, so it honours the Channels panel target and appears with them in Keyboard Shortcuts. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * feat(ui): Tab renames the next layer; Alt-click a thumbnail fits the layer While a layer name is being edited, Tab commits it and starts renaming the layer below, and Shift+Tab the layer above, as in Photoshop; the Background, which isn't renamed in place, ends it. Alt-clicking a layer's thumbnail selects the layer and fits its content on screen (View › Fit Layer(s) on Screen). Key tests cover Ctrl+,, /, Ctrl+\, Ctrl+Alt+2 and Ctrl+Alt+Backspace through the shortcut dispatcher. docs/ui-parity.md lists the new keys. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(ui): an explicit channel target drives the Layers panel's mask target After Ctrl+\ targeted the layer mask, Ctrl+2 moved the Channels target back to the composite, but the Layers panel kept the mask targeted (its own flag, which only ever followed the engine towards the mask), so painting still went to the mask. The same happened after clicking the mask thumbnail. Any channel.target command (Ctrl+2, Ctrl+\, Ctrl+3…) now sets the panel's mask and vector-mask targets from the engine's target. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Use Document::is_background after #4036 removed extra_cmds::is_background Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: Brandon Thomas <echelon@gmail.com> |
||
|---|---|---|
| .. | ||
| brand | ||
| images | ||
| architecture.md | ||
| brush-parity.md | ||
| camera-raw-histogram.md | ||
| camera-raw-zoom.md | ||
| color-picker.md | ||
| context-menu-inventory.md | ||
| context-menu-parity.md | ||
| contributing.md | ||
| contributors.md | ||
| control-protocol.md | ||
| decisions.md | ||
| development.md | ||
| file-format-parity.md | ||
| five-algorithm-performance.json | ||
| five-algorithm-performance.md | ||
| gaps.md | ||
| gpu-composite-reuse.md | ||
| hardware-parity.md | ||
| iris-blur-performance.md | ||
| localization-es.md | ||
| localization-it.md | ||
| localization-ko.md | ||
| localization-parity.md | ||
| localization-zh-hans.md | ||
| localization.md | ||
| mcp.md | ||
| nikon-nef-development.md | ||
| octagonal-mask-performance.md | ||
| ora.md | ||
| parity-checklist.md | ||
| pdn.md | ||
| pixelate-performance.json | ||
| pixelate-performance.md | ||
| plugins.md | ||
| proximity-match-performance.md | ||
| quick-selection-performance.md | ||
| radial-blur-performance.md | ||
| release-playbook.md | ||
| releasing.md | ||
| roadmap.md | ||
| scorecard.md | ||
| selection-distance-performance.md | ||
| shape-strokes.md | ||
| target-app-parity.md | ||
| tilt-shift-performance.md | ||
| ui-design.md | ||
| ui-parity.md | ||