This commit is contained in:
Anuken
2026-02-05 22:29:04 -05:00
parent dced8834b6
commit 9f21a98923
2 changed files with 3 additions and 2 deletions

View File

@@ -51,7 +51,8 @@ public class BaseDialog extends Dialog{
protected void onResize(Runnable run){ protected void onResize(Runnable run){
Events.on(ResizeEvent.class, event -> { Events.on(ResizeEvent.class, event -> {
if(isShown() && Core.scene.getDialog() == this){ //ignore resize events while the Android text input dialog is shown - this does lead to buggy layout when rotated, but it's better than clearing the text. I don't know of a better solution to the problem
if(isShown() && Core.scene.getDialog() == this && !Core.input.isShowingTextInput()){
run.run(); run.run();
updateScrollFocus(); updateScrollFocus();
} }

View File

@@ -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=9026252e4d archash=e1ae1436f2