From 4fde46699701b1a8b74b4dab516624852b24a86d Mon Sep 17 00:00:00 2001
From: yyl <yyl>
Date: 星期一, 23 六月 2025 14:24:50 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.1.20:10010/r/Project_SG_scripts
---
Main/Utility/SafeAreaUI.cs | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/Main/Utility/SafeAreaUI.cs b/Main/Utility/SafeAreaUI.cs
index b31890f..8f1c476 100644
--- a/Main/Utility/SafeAreaUI.cs
+++ b/Main/Utility/SafeAreaUI.cs
@@ -6,6 +6,7 @@
{
public const int SafeWidth = 75;
+ public const int SafeBottom = 15; //绔栧睆涓嬫柟闂撮殧
public enum SimDevice { None, IphoneX }
public static SimDevice Sim
@@ -62,7 +63,7 @@
if (Screen.height / Screen.width > 1.8)//瀹藉睆闇�瑕侀�傞厤
{
//涓婁笅鍚勯棿闅擲afeWidth
- Panel.offsetMin = new Vector2(0, SafeWidth);
+ Panel.offsetMin = new Vector2(0, SafeBottom);
Panel.offsetMax = new Vector2(0, -SafeWidth);
}
else
--
Gitblit v1.8.0