Skip to content

Commit

Permalink
fix auto-hide not working if Dozer preferences window are close to st…
Browse files Browse the repository at this point in the history
…atus bar
  • Loading branch information
Mortennn committed Aug 18, 2019
1 parent 764ecc7 commit 65755b9
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion Dozer/DozerIcons.swift
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,12 @@ public final class DozerIcons {
var statusBarAppsWindowInfo: [Window] = []

for windowInfo in windowInfoList {
guard let window = Window(windowInfo) else { continue }
guard let window = Window(windowInfo),
// If the preferences window are close to the status bar it won't auto hide
window.owner != "Dozer" else {
continue
}

if window.isStatusIcon {
statusBarAppsWindowInfo.append(window)
}
Expand Down

0 comments on commit 65755b9

Please sign in to comment.