StatusItemController: Show animation when deactivating
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
This commit is contained in:
parent
394a0cbeb0
commit
8676f3a663
|
@ -39,10 +39,8 @@ class StatusItemController {
|
||||||
case .active:
|
case .active:
|
||||||
stopActivatingAnimation()
|
stopActivatingAnimation()
|
||||||
statusItem.button?.image = statusBarImageWhenActive
|
statusItem.button?.image = statusBarImageWhenActive
|
||||||
case .activating, .waiting, .reasserting, .restarting:
|
case .activating, .waiting, .reasserting, .restarting, .deactivating:
|
||||||
startActivatingAnimation()
|
startActivatingAnimation()
|
||||||
case .deactivating:
|
|
||||||
break
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue