mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-25 18:28:12 +08:00
Fix Text tool clearing text when hitting Escape by changing it to commit the edit instead (#2052)
* Text tool escape sends commit message * Improve hint text --------- Co-authored-by: Keavon Chambers <keavon@keavon.com>
This commit is contained in:
co-authored by
Keavon Chambers
parent
79408fc0cc
commit
63d44f22e3
@@ -151,7 +151,7 @@ pub fn input_mappings() -> Mapping {
|
||||
//
|
||||
// TextToolMessage
|
||||
entry!(KeyUp(MouseLeft); action_dispatch=TextToolMessage::Interact),
|
||||
entry!(KeyDown(Escape); action_dispatch=TextToolMessage::Abort),
|
||||
entry!(KeyDown(Escape); action_dispatch=TextToolMessage::CommitText),
|
||||
entry!(KeyDown(Enter); modifiers=[Accel], action_dispatch=TextToolMessage::CommitText),
|
||||
//
|
||||
// GradientToolMessage
|
||||
|
||||
Reference in New Issue
Block a user