Skip to content
This repository was archived by the owner on Jun 15, 2025. It is now read-only.

Commit 7344437

Browse files
committed
quick fix oopsies
1 parent 20d62bd commit 7344437

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Aimmy2/MainWindow.xaml.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -930,7 +930,7 @@ private void VisibilityXY()
930930

931931
if (uiManager?.S_XOffset != null && uiManager?.S_XOffsetPercent != null)
932932
{
933-
if (isMenuMinimized == false)
933+
if (!isMenuMinimized)
934934
{
935935
uiManager.S_XOffset.Visibility = xPercentageAdjustment ? Visibility.Collapsed : Visibility.Visible;
936936
uiManager.S_XOffsetPercent.Visibility = xPercentageAdjustment ? Visibility.Visible : Visibility.Collapsed;
@@ -940,7 +940,7 @@ private void VisibilityXY()
940940

941941
if (uiManager?.S_YOffset != null && uiManager?.S_YOffsetPercent != null)
942942
{
943-
if (isMenuMinimized)
943+
if (!isMenuMinimized)
944944
{
945945
uiManager.S_YOffset.Visibility = yPercentageAdjustment ? Visibility.Collapsed : Visibility.Visible;
946946
uiManager.S_YOffsetPercent.Visibility = yPercentageAdjustment ? Visibility.Visible : Visibility.Collapsed;

0 commit comments

Comments
 (0)