mirror of
https://github.com/eliasstepanik/imgui-rs.git
synced 2026-01-11 13:38:35 +00:00
cargo fmt --all
This commit is contained in:
parent
9648b40d85
commit
5cd71fef4c
@ -941,14 +941,14 @@ impl WinitPlatform {
|
|||||||
}
|
}
|
||||||
_ => (),
|
_ => (),
|
||||||
}
|
}
|
||||||
},
|
}
|
||||||
WindowEvent::Focused(newly_focused) => {
|
WindowEvent::Focused(newly_focused) => {
|
||||||
if !newly_focused {
|
if !newly_focused {
|
||||||
// Set focus-lost to avoid stuck keys (like 'alt'
|
// Set focus-lost to avoid stuck keys (like 'alt'
|
||||||
// when alt-tabbing)
|
// when alt-tabbing)
|
||||||
io.app_focus_lost = true;
|
io.app_focus_lost = true;
|
||||||
}
|
}
|
||||||
},
|
}
|
||||||
_ => (),
|
_ => (),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user