mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-15 22:28:10 +08:00
Desktop: Update CEF to 142 (#3431)
* update CEF to 142 * fix win * fixup * post merge fix * use getter instead
This commit is contained in:
@@ -325,6 +325,12 @@ pub struct LayoutKey {
|
||||
label: String,
|
||||
}
|
||||
|
||||
impl LayoutKey {
|
||||
pub fn key(&self) -> Key {
|
||||
self.key
|
||||
}
|
||||
}
|
||||
|
||||
pub const NUMBER_OF_KEYS: usize = Key::_KeysVariantCount as usize - 1;
|
||||
|
||||
/// Only `Key`s that exist on a physical keyboard should be used.
|
||||
|
||||
Reference in New Issue
Block a user