mirror of
https://github.com/godotengine/godot.git
synced 2025-01-22 10:32:54 -05:00
Make dialogs non-cancelable on Android.
This commit is contained in:
parent
36a62d0c6a
commit
401310d74d
1 changed files with 2 additions and 0 deletions
|
@ -151,6 +151,7 @@ internal class DialogUtils {
|
|||
builder.setView(parentLayout)
|
||||
val dialog = builder.create()
|
||||
dismissDialog = {dialog.dismiss()}
|
||||
dialog.setCancelable(false)
|
||||
dialog.show()
|
||||
}
|
||||
}
|
||||
|
@ -178,6 +179,7 @@ internal class DialogUtils {
|
|||
dialog.dismiss()
|
||||
}
|
||||
val dialog = builder.create()
|
||||
dialog.setCancelable(false)
|
||||
dialog.show()
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue