From d2c7bf0b1f8181e4f77ce391974410f770488538 Mon Sep 17 00:00:00 2001 From: 0SlowPoke0 Date: Mon, 13 Jan 2025 22:29:37 +0530 Subject: [PATCH] minor_changes --- editor/src/messages/tool/tool_messages/select_tool.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/editor/src/messages/tool/tool_messages/select_tool.rs b/editor/src/messages/tool/tool_messages/select_tool.rs index 89909403d4..85fb0fcce3 100644 --- a/editor/src/messages/tool/tool_messages/select_tool.rs +++ b/editor/src/messages/tool/tool_messages/select_tool.rs @@ -79,7 +79,6 @@ pub enum SelectToolMessage { PointerOutsideViewport(SelectToolPointerKeys), SelectOptions(SelectOptionsUpdate), SetPivot { position: PivotPosition }, - RestoreSelection, } impl ToolMetadata for SelectTool { @@ -230,7 +229,7 @@ impl<'a> MessageHandler> for SelectT let additional = match self.fsm_state { SelectToolFsmState::Ready { .. } => actions!(SelectToolMessageDiscriminant; DragStart), - SelectToolFsmState::DrawingBox { .. } => actions!(SelectToolMessageDiscriminant;RestoreSelection,DragStop), + SelectToolFsmState::DrawingBox { .. } => actions!(SelectToolMessageDiscriminant;DragStop), _ => actions!(SelectToolMessageDiscriminant; DragStop), }; common.extend(additional);