mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-10-03 18:58:12 +08:00
Dragging selected folder now drags all children (#1279)
This commit is contained in:
@@ -590,7 +590,7 @@ impl Fsm for SelectToolFsmState {
|
|||||||
tool_data.layers_dragging = selected;
|
tool_data.layers_dragging = selected;
|
||||||
|
|
||||||
RotatingBounds
|
RotatingBounds
|
||||||
} else if intersection.last().map(|last| selected.contains(last)).unwrap_or(false) {
|
} else if intersection.last().map(|last| selected.iter().any(|selected_layer| last.starts_with(selected_layer))).unwrap_or(false) {
|
||||||
responses.add(DocumentMessage::StartTransaction);
|
responses.add(DocumentMessage::StartTransaction);
|
||||||
|
|
||||||
tool_data.layers_dragging = selected;
|
tool_data.layers_dragging = selected;
|
||||||
|
|||||||
Reference in New Issue
Block a user