mirror of
https://github.com/storytold/photocraft.git
synced 2026-10-29 12:27:38 -06:00
Effect rows only took clicks and the fx badge was part of the layer row, so dragging an effect or the fx badge picked up nothing (or the whole layer). As in Photoshop, dragging the fx badge or the "Effects" row onto another layer moves all its effects there (replacing that layer's style, like Paste Layer Style), dragging one effect row moves just that effect (replacing an effect of the same kind), and holding Alt on release copies instead. The badge takes the drag the way the eye does, so clicks still select the row. The drop is one history step through a new engine command, layer.layerStyle.transferEffects (no menu entry, like Show All Effects). Tests: the engine command (copy, move one, move all, undo, bad params) and a Layers panel test that Alt-drags an effect row and drags the fx badge.