Fixed broken keyboard focus after loading

This commit is contained in:
Anuken
2026-01-08 22:02:57 -05:00
parent c23a0a1e62
commit dc27a0951c

View File

@@ -111,6 +111,9 @@ public class LoadingFragment{
table.toFront();
table.touchable = Touchable.disabled;
table.actions(Actions.fadeOut(0.5f), Actions.visible(false));
if(Core.scene.getKeyboardFocus() == button){
Core.scene.setKeyboardFocus(null);
}
}
private void text(String text){