Fix undo history getting stuck when the Select tool clicks the background to deselect (#3143)

Remove unnecessary start transaction messages

Co-authored-by: Keavon Chambers <keavon@keavon.com>
This commit is contained in:
Adesh Gupta 2025-09-08 01:25:12 +05:30 committed by GitHub
parent a2c0693038
commit 57111cff92
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 0 additions and 4 deletions

View File

@ -1449,8 +1449,6 @@ impl Fsm for SelectToolFsmState {
}
tool_data.get_snap_candidates(document, input);
responses.add(DocumentMessage::StartTransaction);
}
}
}
@ -1623,8 +1621,6 @@ impl Fsm for SelectToolFsmState {
SelectToolFsmState::Ready { selection }
}
(_, SelectToolMessage::SetPivot { position }) => {
responses.add(DocumentMessage::StartTransaction);
tool_data.pivot_gizmo.pivot.last_non_none_reference_point = position;
tool_data.pivot_gizmo.pivot.pinned = false;