1
0
mirror of https://github.com/emilk/egui.git synced 2026-08-29 04:40:03 -04:00

Formatting fixes: fix red main (#8232)

* I accidentally merged https://github.com/emilk/egui/pull/8127 without
all of its checks having been run.

I've now marked a few CI items as required
This commit is contained in:
Emil Ernerfeldt
2026-06-10 21:45:13 +02:00
committed by GitHub
parent e392fbadd4
commit b46b9e225f

View File

@@ -197,18 +197,25 @@ pub enum Key {
// `Event::Key` presses. // `Event::Key` presses.
/// Left Shift key. /// Left Shift key.
ShiftLeft, ShiftLeft,
/// Right Shift key. /// Right Shift key.
ShiftRight, ShiftRight,
/// Left Control key. /// Left Control key.
ControlLeft, ControlLeft,
/// Right Control key. /// Right Control key.
ControlRight, ControlRight,
/// Left Alt / Option key. /// Left Alt / Option key.
AltLeft, AltLeft,
/// Right Alt / AltGr / Option key.
/// Right Alt / `AltGr` / Option key.
AltRight, AltRight,
/// Left Super / Meta / Command / Windows key. /// Left Super / Meta / Command / Windows key.
SuperLeft, SuperLeft,
/// Right Super / Meta / Command / Windows key. /// Right Super / Meta / Command / Windows key.
SuperRight, SuperRight,
@@ -219,7 +226,6 @@ pub enum Key {
/// on ISO layouts. On French AZERTY it produces `<>|`; on UK /// on ISO layouts. On French AZERTY it produces `<>|`; on UK
/// QWERTY a secondary `\` / `|`. Missing from US ANSI keyboards. /// QWERTY a secondary `\` / `|`. Missing from US ANSI keyboards.
IntlBackslash, IntlBackslash,
// When adding keys, remember to also update: // When adding keys, remember to also update:
// * crates/egui-winit/src/lib.rs // * crates/egui-winit/src/lib.rs
// * Key::ALL // * Key::ALL