1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-04 12:00:25 +00:00

Merge pull request #107473 from m4gr3d/address_transparency_feedback

Address remaining feedback on Android background transparency
This commit is contained in:
Thaddeus Crews
2025-07-16 11:27:54 -05:00
6 changed files with 14 additions and 9 deletions

View File

@@ -487,7 +487,9 @@ class Godot private constructor(val context: Context) {
// Check whether the render view should be made transparent
val shouldBeTransparent =
!isProjectManagerHint() && !isEditorHint() && java.lang.Boolean.parseBoolean(GodotLib.getGlobal("display/window/per_pixel_transparency/allowed"))
!isProjectManagerHint() &&
!isEditorHint() &&
java.lang.Boolean.parseBoolean(GodotLib.getGlobal("display/window/per_pixel_transparency/allowed"))
Log.d(TAG, "Render view should be transparent: $shouldBeTransparent")
renderView = if (usesVulkan()) {
if (meetsVulkanRequirements(context.packageManager)) {