mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Merge branch 'timokoesters/fix-settings' into 'master'
Ungrab mouse when closing settings with X See merge request veloren/veloren!219
This commit is contained in:
commit
eb83040af3
@ -566,7 +566,7 @@ impl Hud {
|
||||
}
|
||||
settings_window::Event::ToggleDebug => self.show.debug = !self.show.debug,
|
||||
settings_window::Event::ChangeTab(tab) => self.show.open_setting_tab(tab),
|
||||
settings_window::Event::Close => self.show.open_windows = Windows::None,
|
||||
settings_window::Event::Close => self.show.settings(false),
|
||||
settings_window::Event::AdjustViewDistance(view_distance) => {
|
||||
events.push(Event::AdjustViewDistance(view_distance));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user