Skip to content

Commit c6cafc5

Browse files
Merge pull request #497 from josephabyt/master
improve checkbox mode
2 parents bc7064b + eae4baf commit c6cafc5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Menu/Main.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1616,7 +1616,7 @@ private static void AddButton(float offset, int buttonIndex, ButtonInfo method)
16161616
if (joystickMenu && buttonIndex == joystickButtonSelected && themeType == 30)
16171617
buttonText.color = Color.red;
16181618

1619-
buttonText.alignment = TextAnchor.MiddleCenter;
1619+
buttonText.alignment = checkMode ? TextAnchor.MiddleLeft : TextAnchor.MiddleCenter;
16201620
buttonText.fontStyle = activeFontStyle;
16211621
buttonText.resizeTextForBestFit = true;
16221622
buttonText.resizeTextMinSize = 0;

0 commit comments

Comments
 (0)