parent
0957c026ee
commit
df8539a39a
|
@ -88,7 +88,7 @@ public enum DockProgress {
|
|||
return
|
||||
}
|
||||
|
||||
let icon = (0..<1).contains(progress) ? draw(appIcon) : appIcon
|
||||
let icon = progress > 0 && progress < 1 ? draw(appIcon) : appIcon
|
||||
// TODO: Make this better by drawing in the `contentView` directly instead of using an image
|
||||
dockImageView.image = icon
|
||||
NSApp.dockTile.display()
|
||||
|
|
Loading…
Reference in New Issue