mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-15 14:18:04 +08:00
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:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user