mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2025-09-08 22:20:30 +00:00
Improve hotkeys with canonical flag, more industry-standard mappings, and fix GRS menu bar labels (#2827)
This commit is contained in:
parent
8a0241f0fa
commit
354a68911e
15 changed files with 152 additions and 151 deletions
|
@ -467,8 +467,9 @@ impl EditorHandle {
|
|||
return Err(Error::new("Invalid color").into());
|
||||
};
|
||||
|
||||
let message = ToolMessage::SelectPrimaryColor {
|
||||
let message = ToolMessage::SelectWorkingColor {
|
||||
color: primary_color.to_linear_srgb(),
|
||||
primary: true,
|
||||
};
|
||||
self.dispatch(message);
|
||||
|
||||
|
@ -482,8 +483,9 @@ impl EditorHandle {
|
|||
return Err(Error::new("Invalid color").into());
|
||||
};
|
||||
|
||||
let message = ToolMessage::SelectSecondaryColor {
|
||||
let message = ToolMessage::SelectWorkingColor {
|
||||
color: secondary_color.to_linear_srgb(),
|
||||
primary: false,
|
||||
};
|
||||
self.dispatch(message);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue