Allow cancellation of pivot drag in Select tool (#1658)
* Add Abort to SelectToolFsmState::DragginPivot state * Remove trailing whitespace (rustfmt error)
This commit is contained in:
parent
69c6f44373
commit
4cbba3d92b
|
|
@ -591,6 +591,11 @@ impl Fsm for SelectToolFsmState {
|
|||
|
||||
state
|
||||
}
|
||||
(SelectToolFsmState::DraggingPivot, SelectToolMessage::Abort) => {
|
||||
responses.add(DocumentMessage::AbortTransaction);
|
||||
|
||||
SelectToolFsmState::Ready
|
||||
}
|
||||
(SelectToolFsmState::Dragging, SelectToolMessage::PointerMove(modifier_keys)) => {
|
||||
tool_data.has_dragged = true;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue