mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
make zooming always work if cursor is grabbed
Former-commit-id: e07bb0746fa117f045d62919a4ca55a8eb0c6cf7
This commit is contained in:
parent
e755afce91
commit
571e319a62
@ -1537,7 +1537,7 @@ impl Hud {
|
||||
}
|
||||
true
|
||||
}
|
||||
WinEvent::Zoom(_) => !self.ui.no_widget_capturing_mouse(),
|
||||
WinEvent::Zoom(_) => !self.cursor_grabbed && !self.ui.no_widget_capturing_mouse(),
|
||||
WinEvent::KeyDown(Key::Enter) => {
|
||||
self.ui.focus_widget(if self.typing() {
|
||||
None
|
||||
|
Loading…
Reference in New Issue
Block a user