Avoid quick flashes in layout and styling examples
This commit is contained in:
parent
7e5b6f6802
commit
c3b94a9158
2 changed files with 7 additions and 1 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue