Support multiple windows, start on input UI
This commit is contained in:
+3
-2
@@ -36,8 +36,9 @@ fn main() -> Result<()> {
|
||||
emulator.run();
|
||||
});
|
||||
|
||||
let event_loop = EventLoop::new().unwrap();
|
||||
let event_loop = EventLoop::with_user_event().build().unwrap();
|
||||
event_loop.set_control_flow(ControlFlow::Poll);
|
||||
event_loop.run_app(&mut App::new(client))?;
|
||||
let proxy = event_loop.create_proxy();
|
||||
event_loop.run_app(&mut App::new(client, proxy))?;
|
||||
Ok(())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user