mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-15 14:18:04 +08:00
Dragging selected folder now drags all children (#1279)
This commit is contained in:
committed by
Keavon Chambers
parent
84343f2abe
commit
61c5dd1f88
@@ -590,7 +590,7 @@ impl Fsm for SelectToolFsmState {
|
||||
tool_data.layers_dragging = selected;
|
||||
|
||||
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);
|
||||
|
||||
tool_data.layers_dragging = selected;
|
||||
|
||||
Reference in New Issue
Block a user