Skip to content

Commit 3cf9619

Browse files
committed
rearrange rotate to match previous logic ordering
1 parent 5287c89 commit 3cf9619

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -906,12 +906,12 @@ impl Fsm for SelectToolFsmState {
906906
DragStartIntent::Resize
907907
} else if skew {
908908
DragStartIntent::Skew
909-
} else if rotate {
910-
DragStartIntent::Rotate
911909
} else if lasso_select {
912910
DragStartIntent::Draw
913911
} else if can_grab_compass_rose || intersection.is_some_and(|intersection| selected.iter().any(|selected_layer| intersection.starts_with(*selected_layer, document.metadata()))) {
914912
DragStartIntent::DragWithPreviousSelection
913+
} else if rotate {
914+
DragStartIntent::Rotate
915915
} else if let Some(intersection) = intersection {
916916
DragStartIntent::DragWithNewSelection(intersection)
917917
} else {

0 commit comments

Comments
 (0)