mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-03-13 11:29:48 +07:00
Fixed menu opening and closing when chat is open
This commit is contained in:
parent
3938022002
commit
37a73eda37
@ -48,7 +48,7 @@ public class HudFragment implements Fragment{
|
||||
flip = new imagebutton("icon-arrow-up", isize, () -> toggleMenus()).get();
|
||||
|
||||
update(t -> {
|
||||
if(Inputs.keyTap("toggle_menus")){
|
||||
if(Inputs.keyTap("toggle_menus") && !ui.chatfrag.chatOpen()){
|
||||
toggleMenus();
|
||||
}
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user