Update to rust 1.95
This commit is contained in:
+4
-4
@@ -400,10 +400,10 @@ impl ApplicationHandler<UserEvent> for Application {
|
||||
}
|
||||
if !response.consumed {
|
||||
match event {
|
||||
WindowEvent::KeyboardInput { event, .. } => {
|
||||
if !self.app.handle_key_event(viewport_id, &event) {
|
||||
self.controllers.handle_key_event(&event);
|
||||
}
|
||||
WindowEvent::KeyboardInput { event, .. }
|
||||
if !self.app.handle_key_event(viewport_id, &event) =>
|
||||
{
|
||||
self.controllers.handle_key_event(&event);
|
||||
}
|
||||
WindowEvent::Focused(new_focused) => {
|
||||
self.focused = new_focused.then_some(viewport_id);
|
||||
|
||||
Reference in New Issue
Block a user