This commit is contained in:
Henrik Rydgård committed 2025-10-27 13:17:48 +01:00
1 parent 7afc4fa5dc
commit 45ef8120f3
4 files changed
+7 -9

No files matched your search

-2
View File
@@ -145,8 +145,6 @@ Bounds UIContext::GetLayoutBounds() const {
float top = System_GetPropertyFloat(SYSPROP_DISPLAY_SAFE_INSET_TOP);
float bottom = System_GetPropertyFloat(SYSPROP_DISPLAY_SAFE_INSET_BOTTOM);
// ILOG("Insets: %f %f %f %f", left, right, top, bottom);
// Adjust left edge to compensate for cutouts (notches) if any.
bounds.x += left;
bounds.w -= (left + right);