From 4008adde84a45513b62cf0e486160cb7d559dda6 Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Wed, 24 Sep 2025 16:30:15 -0400 Subject: [PATCH] v3.2.5: fixed cutout handling triggering when no cutout is there on iOS --- .../shatteredpixel/shatteredpixeldungeon/scenes/GameScene.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/scenes/GameScene.java b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/scenes/GameScene.java index 81511299f..15cdecacd 100644 --- a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/scenes/GameScene.java +++ b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/scenes/GameScene.java @@ -373,7 +373,7 @@ public class GameScene extends PixelScene { float menuBarMaxLeft = uiCamera.width-insets.right-MenuPane.WIDTH; int hpBarMaxWidth = 50; //default max width float buffBarTopRowMaxWidth = 55; //default max width - if (largeInsetTop == 0){ + if (largeInsetTop == 0 && insets.top > 0){ //iOS's Dynamic island badly obstructs the first buff bar row if (DeviceCompat.isiOS()){ //TODO bad to hardcode and approximate this atm