mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2025-12-23 10:11:54 +00:00
Unmount working folder on select (#253)
This commit is contained in:
parent
63b849fac3
commit
8ff545f01c
1 changed files with 1 additions and 0 deletions
|
|
@ -103,6 +103,7 @@ impl Fsm for SelectToolFsmState {
|
|||
DVec2::new(point_1.x, point_2.y),
|
||||
];
|
||||
|
||||
responses.push_back(Operation::DiscardWorkingFolder.into());
|
||||
if data.drag_start == data.drag_current {
|
||||
if let Some(intersection) = document.intersects_quad_root(quad).last() {
|
||||
responses.push_back(DocumentMessage::SelectLayers(vec![intersection.clone()]).into());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue