Merge branch 'imbris/small-fix423' into 'master'

Fix cursor not hiding when closing bag while both the bag and crafting window are shown

See merge request veloren/veloren!3789
This commit is contained in:
Imbris 2023-02-03 15:06:54 +00:00
commit 0c54d1b798

View File

@ -899,12 +899,12 @@ impl Show {
if !self.esc_menu {
self.bag = open;
self.map = false;
self.want_grab = !self.any_window_requires_cursor();
self.crafting_fields.salvage = false;
if !open {
self.crafting = false;
}
self.want_grab = !self.any_window_requires_cursor();
}
}