mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Fix cursor not hiding when closing bag while both the bag and crafting window are displayed by delaying the want_grab calculation to after the crafting window is hidden
This commit is contained in:
parent
2153196294
commit
b9a6742ee6
@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user