Fixed keyboard focus remaining on cancel button after loading hides
This commit is contained in:
@@ -109,8 +109,10 @@ public class LoadingFragment{
|
|||||||
public void hide(){
|
public void hide(){
|
||||||
table.clearActions();
|
table.clearActions();
|
||||||
table.toFront();
|
table.toFront();
|
||||||
|
button.visible = false;
|
||||||
table.touchable = Touchable.disabled;
|
table.touchable = Touchable.disabled;
|
||||||
table.actions(Actions.fadeOut(0.5f), Actions.visible(false));
|
table.actions(Actions.fadeOut(0.5f), Actions.visible(false));
|
||||||
|
|
||||||
if(Core.scene.getKeyboardFocus() == button){
|
if(Core.scene.getKeyboardFocus() == button){
|
||||||
Core.scene.setKeyboardFocus(null);
|
Core.scene.setKeyboardFocus(null);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -26,4 +26,4 @@ org.gradle.caching=true
|
|||||||
org.gradle.internal.http.socketTimeout=100000
|
org.gradle.internal.http.socketTimeout=100000
|
||||||
org.gradle.internal.http.connectionTimeout=100000
|
org.gradle.internal.http.connectionTimeout=100000
|
||||||
android.enableR8.fullMode=false
|
android.enableR8.fullMode=false
|
||||||
archash=e1ae1436f2
|
archash=c8b077369e
|
||||||
|
|||||||
Reference in New Issue
Block a user