Chat on Minimap Implementation (#2092)

* chat on minimap implementation

* add braces
This commit is contained in:
zethnest
2020-05-20 23:34:49 +08:00
committed by GitHub
parent daa80955ac
commit 7030f69bc6
2 changed files with 5 additions and 3 deletions

View File

@@ -62,7 +62,7 @@ public class ChatFragment extends Table{
update(() -> {
if(net.active() && input.keyTap(Binding.chat) && (scene.getKeyboardFocus() == chatfield || scene.getKeyboardFocus() == null)){
if(net.active() && input.keyTap(Binding.chat) && (scene.getKeyboardFocus() == chatfield || scene.getKeyboardFocus() == null || ui.minimapfrag.shown())){
toggle();
}