iris update
This commit is contained in:
2
iris
2
iris
Submodule iris updated: d757e805e8...90c579d734
@@ -17,7 +17,7 @@ use openworm::{
|
||||
use render::Renderer;
|
||||
use std::{sync::Arc, time::Instant};
|
||||
use winit::{
|
||||
event::{Ime, WindowEvent},
|
||||
event::{ElementState, Ime, MouseButton, WindowEvent},
|
||||
event_loop::{ActiveEventLoop, EventLoopProxy},
|
||||
window::Window,
|
||||
};
|
||||
@@ -173,10 +173,17 @@ impl Client {
|
||||
TextInputResult::Used => {
|
||||
self.run_event(sel, Edited, ());
|
||||
}
|
||||
TextInputResult::Unused => (),
|
||||
TextInputResult::Unused => {}
|
||||
}
|
||||
}
|
||||
}
|
||||
WindowEvent::MouseInput {
|
||||
state: ElementState::Pressed,
|
||||
button: MouseButton::Middle,
|
||||
..
|
||||
} => {
|
||||
self.ui.debug_layers();
|
||||
}
|
||||
WindowEvent::Ime(ime) => {
|
||||
if let Some(sel) = &self.focus {
|
||||
let mut text = self.ui.text(sel);
|
||||
|
||||
Reference in New Issue
Block a user