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

@@ -43,8 +43,10 @@ public class MinimapFragment extends Fragment{
elem.visible(() -> shown);
elem.update(() -> {
elem.requestKeyboard();
elem.requestScroll();
if(!ui.chatfrag.shown()){
elem.requestKeyboard();
elem.requestScroll();
}
elem.setFillParent(true);
elem.setBounds(0, 0, Core.graphics.getWidth(), Core.graphics.getHeight());