mirror of
https://github.com/FBukovina/Atoll.git
synced 2026-10-28 23:54:32 +00:00
Atoll: clear lock screen widgets faster on unlock
- Add session-active and CGSession poll fallbacks for unlock detection - Force weather panel alpha to 0 before orderOut for instant hide Signed-off-by: Jis G Jacob <studiokeys@blissroms.org>
This commit is contained in:
parent
854eb3e4bd
commit
3829627dbd
2 changed files with 61 additions and 4 deletions
|
|
@ -49,8 +49,10 @@ final class LockScreenWeatherPanelManager {
|
|||
|
||||
func hide() {
|
||||
guard let window else { return }
|
||||
window.alphaValue = 0
|
||||
window.orderOut(nil)
|
||||
window.contentView = nil
|
||||
window.alphaValue = 1
|
||||
latestFrame = nil
|
||||
lastSnapshot = nil
|
||||
lastContentSize = nil
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue