File tree 1 file changed +1
-2
lines changed
editor/src/messages/tool/tool_messages
1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,6 @@ use graph_craft::document::NodeId;
29
29
use graphene_core:: renderer:: Quad ;
30
30
use graphene_std:: renderer:: Rect ;
31
31
use graphene_std:: vector:: misc:: BooleanOperation ;
32
- use std:: collections:: HashSet ;
33
32
use std:: fmt;
34
33
35
34
#[ derive( Default ) ]
@@ -1306,7 +1305,7 @@ impl Fsm for SelectToolFsmState {
1306
1305
. collect ( ) ,
1307
1306
} ) ;
1308
1307
}
1309
- } else if let Some ( selecting_layer ) = tool_data. select_single_layer . take ( ) {
1308
+ } else if tool_data. select_single_layer . take ( ) . is_some ( ) {
1310
1309
// 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.
1311
1310
if !has_dragged {
1312
1311
let intersection_list = document. click_list ( input) . collect :: < Vec < _ > > ( ) ;
You can’t perform that action at this time.
0 commit comments