You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/ScriptCommands/showAppScriptCommand.swift
+11-7Lines changed: 11 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -1,15 +1,17 @@
1
-
varDockAltTabFORCEDX=0;
2
-
varDockAltTabFORCEDY=0;
3
-
varDockAltTabMode=false;
4
-
varDockAltTabDockPos="";
1
+
varDockAltTabFORCEDX=0
2
+
varDockAltTabFORCEDY=0
3
+
varDockAltTabMode=false
4
+
varDockAltTabDockPos=""
5
+
varDockAltTabApp:NSRunningApplication?=nil
5
6
6
7
func DockAltTabRadiusFix(){
7
8
if(Preferences.theme !=.macOs){return}
8
9
App.app.thumbnailsPanel.thumbnailsView.updateRoundedCorners(DockAltTabMode ?15:Appearance.windowCornerRadius) //line found in App.resetPreferencesDependentComponents
@@ -69,7 +71,9 @@ class showAppScriptCommand: NSScriptCommand {
69
71
App.app.isFirstSummon =false
70
72
App.app.shortcutIndex =2 // Shortcut 3 = index 2 = DockAltTab
71
73
NSScreen.updatePreferred()
72
-
// if !Windows.updatesBeforeShowing() { App.app.hideUi(); return self } //commented out since active app = 0 windows = no previews for any tarApp, and modifying updatesBeforeShowing leads to keeping thumbnailsPanel open with 0 thumbnails (empty grey window)
74
+
if !Windows.updatesBeforeShowing(){
75
+
print("ydaaaaa")
76
+
App.app.hideUi(); returnself} //commented out since active app = 0 windows = no previews for any tarApp, and modifying updatesBeforeShowing leads to keeping thumbnailsPanel open with 0 thumbnails (empty grey window)
0 commit comments