mirror of
https://github.com/FBukovina/Atoll.git
synced 2026-10-27 15:14:33 +00:00
Atoll: Fix Timer Stop and Pause button overlap while expanded
Signed-off-by: Jis G Jacob <studiokeys@blissroms.org>
This commit is contained in:
parent
8a60b0ede5
commit
072491d1e3
2 changed files with 20 additions and 17 deletions
|
|
@ -427,6 +427,11 @@ struct ContentView: View {
|
|||
if newState == .closed {
|
||||
removeStickyTerminalClickMonitor()
|
||||
}
|
||||
#if os(macOS)
|
||||
if newState == .open {
|
||||
TimerControlWindowManager.shared.hide()
|
||||
}
|
||||
#endif
|
||||
}
|
||||
.onChange(of: vm.isBatteryPopoverActive) { _, newPopoverState in
|
||||
runAfter(0.1) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue