Skip to content

Commit

Permalink
[F] Skip button background
Browse files Browse the repository at this point in the history
  • Loading branch information
clansty committed Nov 6, 2024
1 parent 85dd802 commit 1542f38
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions AquaMai/TimeSaving/ShowQuickEndPlay.cs
Original file line number Diff line number Diff line change
Expand Up @@ -47,14 +47,14 @@ private class Ui : MonoBehaviour
public void OnGUI()
{
if (!_showUi) return;
var style = GUI.skin.GetStyle("button");
style.fontSize = GuiSizes.FontSize;

// 这里重新 setup 一下 style 也可以
var x = GuiSizes.PlayerCenter;
var y = Screen.height - GuiSizes.PlayerWidth * .37f;
var width = GuiSizes.PlayerWidth * .25f;
var height = GuiSizes.PlayerWidth * .13f;

GUI.Box(new Rect(x, y, width, height), "");
GUI.Button(new Rect(x, y, width, height), Locale.Skip);
}
}
Expand Down

0 comments on commit 1542f38

Please sign in to comment.