Skip to content

Commit 72f1e6a

Browse files
committed
cleanup
1 parent 2347e21 commit 72f1e6a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

editor/src/messages/tool/tool_messages/select_tool.rs

+1-2
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ use graph_craft::document::NodeId;
2929
use graphene_core::renderer::Quad;
3030
use graphene_std::renderer::Rect;
3131
use graphene_std::vector::misc::BooleanOperation;
32-
use std::collections::HashSet;
3332
use std::fmt;
3433

3534
#[derive(Default)]
@@ -1306,7 +1305,7 @@ impl Fsm for SelectToolFsmState {
13061305
.collect(),
13071306
});
13081307
}
1309-
} else if let Some(selecting_layer) = tool_data.select_single_layer.take() {
1308+
} else if tool_data.select_single_layer.take().is_some() {
13101309
// Previously, we may have had many layers selected. If the user clicks without dragging, we should just select the one layer that has been clicked.
13111310
if !has_dragged {
13121311
let intersection_list = document.click_list(input).collect::<Vec<_>>();

0 commit comments

Comments
 (0)