mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-10-01 10:08:12 +08:00
Fix displayed ordering of keyboard shortcuts
This commit is contained in:
@@ -21,11 +21,11 @@ impl Platform {
|
||||
pub fn as_keyboard_platform_layout(&self) -> KeyboardPlatformLayout {
|
||||
match self {
|
||||
Platform::Mac => KeyboardPlatformLayout::Mac,
|
||||
Platform::Windows | Platform::Linux => KeyboardPlatformLayout::Standard,
|
||||
Platform::Unknown => {
|
||||
warn!("The platform has not been set, remember to send `GlobalsMessage::SetPlatform` during editor initialization.");
|
||||
KeyboardPlatformLayout::Standard
|
||||
}
|
||||
_ => KeyboardPlatformLayout::Standard,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user