mirror of
https://github.com/FBukovina/Atoll.git
synced 2026-10-27 15:14:33 +00:00
Atoll: Fix LS Music Widget Overlapping Timers
- When lyrics was enabled the music widget would overlap the timers widget causing overlapped widgets which looks awful Signed-off-by: Jis G Jacob <studiokeys@blissroms.org>
This commit is contained in:
parent
30bb8a588f
commit
78bf018fe2
1 changed files with 5 additions and 0 deletions
|
|
@ -279,6 +279,11 @@ final class LockScreenTimerWidgetPanelManager {
|
|||
originY = min(originY, topLimit)
|
||||
}
|
||||
|
||||
if let musicFrame = LockScreenPanelManager.shared.latestFrame {
|
||||
let minAllowedY = musicFrame.maxY + 12
|
||||
originY = max(originY, minAllowedY)
|
||||
}
|
||||
|
||||
let minY = screen.frame.minY + 100
|
||||
originY = max(originY, minY)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue