This commit is contained in:
SoulliesOfficial
2026-07-14 09:35:37 -04:00
parent c16c2480ff
commit dbe7d99a90
15 changed files with 353 additions and 256 deletions

View File

@@ -290,15 +290,11 @@ namespace Ichni.Editor
{
if (Keyboard.current.leftCtrlKey.isPressed)
{
if (Keyboard.current.digit1Key.wasPressedThisFrame) // Ctrl + 1 手机分辨率提示
if (Keyboard.current.digit1Key.wasPressedThisFrame) // Ctrl + 1 判定线提示
{
EditorManager.instance.uiManager.mainPage.resolutionHints.SetPhoneFrame();
EditorManager.instance.uiManager.mainPage.resolutionHints.SetJudgeLineHints();
}
else if (Keyboard.current.digit2Key.wasPressedThisFrame) // Ctrl + 2 平板分辨率提示
{
EditorManager.instance.uiManager.mainPage.resolutionHints.SetIPadFrame();
}
else if (Keyboard.current.digit3Key.wasPressedThisFrame) // Ctrl + 3 绝对安全区域提示
else if (Keyboard.current.digit2Key.wasPressedThisFrame) // Ctrl + 2 绝对安全区域提示
{
EditorManager.instance.uiManager.mainPage.resolutionHints.SetSafeAreaFrame();
}