Unhide cursor for now

This commit is contained in:
Sergey Smirnykh 2020-03-21 19:27:54 +07:00 committed by Victor Berger
parent 73345375ac
commit 9e1bce7c66
1 changed files with 1 additions and 3 deletions

View File

@ -162,7 +162,6 @@ where
let events_loop = EventLoop::new();
let winit_window = builder.build(&events_loop).chain_err(|| ErrorKind::InitFailed)?;
winit_window.set_cursor_visible(false);
debug!(log, "Window created");
@ -183,10 +182,9 @@ where
},
);
let scale_factor = window.window().scale_factor();
let size = Rc::new(RefCell::new(WindowSize {
physical_size: window.window().inner_size(), // TODO: original code check if window is alive or not using inner_size().expect()
scale_factor,
scale_factor: window.window().scale_factor(),
}));
Ok((