Skip to content

Commit a9ccfe7

Browse files
committed
fix rotate bug
1 parent 5d24b2b commit a9ccfe7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -426,6 +426,7 @@ impl Fsm for ShapeToolFsmState {
426426
return ShapeToolFsmState::ResizingBounds;
427427
}
428428
(false, true, false) => {
429+
tool_data.data.drag_start = mouse_pos;
429430
return ShapeToolFsmState::RotatingBounds;
430431
}
431432
(false, false, true) => {

0 commit comments

Comments
 (0)