Skip to content

Commit

Permalink
Demount working on select (#253)
Browse files Browse the repository at this point in the history
  • Loading branch information
0HyperCube committed Jul 12, 2021
1 parent 63b849f commit ab65b12
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/editor/src/tool/tools/select.rs
Expand Up @@ -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());
Expand Down

0 comments on commit ab65b12

Please sign in to comment.