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