mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-10-01 07:18:12 +08:00
Fix cancellation of drag actions in all tools where it's missing (#1664)
* Change message sent from DocumentMessage::Undo to DocumentMessage::AbortTransaction while aborting select tool * Fix NavigationTool not aborting * Fix NavigationTool tilt * Make gradient tool abortable * Make PathTool drag actions abortable * Make FreeHand Tool abortable * Make BrushTool abortable * Fix filename typo * Make artboards also abortable * Rearrange key bindings for consistency --------- Co-authored-by: Keavon Chambers <keavon@keavon.com>
This commit is contained in:
co-authored by
Keavon Chambers
parent
218e9675fd
commit
aa9a3e648a
@@ -230,6 +230,7 @@ impl MessageHandler<NavigationMessage, (&DocumentMetadata, Option<[DVec2; 2]>, &
|
||||
match self.transform_operation {
|
||||
TransformOperation::None => {}
|
||||
TransformOperation::Rotate { pre_commit_tilt, .. } => {
|
||||
ptz.tilt = pre_commit_tilt;
|
||||
responses.add(SetCanvasTilt { angle_radians: pre_commit_tilt });
|
||||
}
|
||||
TransformOperation::Pan { pre_commit_pan, .. } => {
|
||||
|
||||
Reference in New Issue
Block a user