mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-26 10:08:12 +08:00
Unmount working folder on select (#253)
This commit is contained in:
committed by
Keavon Chambers
parent
fb4d34bdc1
commit
1aebeabb3a
@@ -103,6 +103,7 @@ impl Fsm for SelectToolFsmState {
|
|||||||
DVec2::new(point_1.x, point_2.y),
|
DVec2::new(point_1.x, point_2.y),
|
||||||
];
|
];
|
||||||
|
|
||||||
|
responses.push_back(Operation::DiscardWorkingFolder.into());
|
||||||
if data.drag_start == data.drag_current {
|
if data.drag_start == data.drag_current {
|
||||||
if let Some(intersection) = document.intersects_quad_root(quad).last() {
|
if let Some(intersection) = document.intersects_quad_root(quad).last() {
|
||||||
responses.push_back(DocumentMessage::SelectLayers(vec![intersection.clone()]).into());
|
responses.push_back(DocumentMessage::SelectLayers(vec![intersection.clone()]).into());
|
||||||
|
|||||||
Reference in New Issue
Block a user