Avoid quick flashes in layout and styling examples

This commit is contained in:
Héctor Ramón Jiménez 2025-12-02 18:38:19 +01:00
parent 7e5b6f6802
commit c3b94a9158
No known key found for this signature in database
GPG key ID: 7CC46565708259A7
2 changed files with 7 additions and 1 deletions

View file

@ -193,6 +193,7 @@ impl Styling {
keyboard::listen().filter_map(|event| {
let keyboard::Event::KeyPressed {
modified_key: keyboard::Key::Named(modified_key),
repeat: false,
..
} = event
else {