@@ -1598,8 +1598,6 @@ public bool ShouldIgnoreHotkeys()
15981598
15991599 private bool IsQuickSwitch { get ; set ; } = false ;
16001600
1601- private static QuickSwitchWindowPositions QuickSwitchWindowPosition => QuickSwitch . QuickSwitchWindowPosition ;
1602-
16031601 private bool PreviousMainWindowVisibilityStatus { get ; set ; }
16041602
16051603 public void InitializeVisibilityStatus ( bool visibilityStatus )
@@ -1609,7 +1607,8 @@ public void InitializeVisibilityStatus(bool visibilityStatus)
16091607
16101608 public bool IsQuickSwitchWindowUnderDialog ( )
16111609 {
1612- return IsQuickSwitch && QuickSwitchWindowPosition == QuickSwitchWindowPositions . UnderDialog ;
1610+ return IsQuickSwitch &&
1611+ QuickSwitch . QuickSwitchWindowPosition == QuickSwitchWindowPositions . UnderDialog ;
16131612 }
16141613
16151614#pragma warning disable VSTHRD100 // Avoid async void methods
@@ -1650,7 +1649,7 @@ public async void SetupQuickSwitch(nint handle)
16501649 }
16511650 else
16521651 {
1653- if ( QuickSwitchWindowPosition == QuickSwitchWindowPositions . UnderDialog )
1652+ if ( QuickSwitch . QuickSwitchWindowPosition == QuickSwitchWindowPositions . UnderDialog )
16541653 {
16551654 Show ( ) ;
16561655
@@ -1668,7 +1667,7 @@ public async void SetupQuickSwitch(nint handle)
16681667 }
16691668 }
16701669
1671- if ( QuickSwitchWindowPosition == QuickSwitchWindowPositions . UnderDialog )
1670+ if ( QuickSwitch . QuickSwitchWindowPosition == QuickSwitchWindowPositions . UnderDialog )
16721671 {
16731672 _ = Task . Run ( ( ) =>
16741673 {
@@ -1733,7 +1732,7 @@ public void HideQuickSwitch()
17331732 {
17341733 if ( DialogWindowHandle != nint . Zero )
17351734 {
1736- if ( QuickSwitchWindowPosition == QuickSwitchWindowPositions . UnderDialog )
1735+ if ( QuickSwitch . QuickSwitchWindowPosition == QuickSwitchWindowPositions . UnderDialog )
17371736 {
17381737 if ( MainWindowVisibilityStatus )
17391738 {
0 commit comments