mirror of
https://github.com/Anuken/Mindustry.git
synced 2026-01-22 04:21:14 -08:00
Fixed menu opening and closing when chat is open
This commit is contained in:
parent
3938022002
commit
37a73eda37
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue