mirror of
https://github.com/FBukovina/Atoll.git
synced 2026-10-28 15:44:32 +00:00
Update: Support for 2K resolution
This commit is contained in:
parent
3a99bad78d
commit
5b489ee90d
5 changed files with 42 additions and 9 deletions
|
|
@ -3469,7 +3469,9 @@ struct Appearance: View {
|
|||
@State private var speed: CGFloat = 1.0
|
||||
|
||||
private var notchWidthRange: ClosedRange<Double> {
|
||||
Double(currentRecommendedMinimumNotchWidth())...900
|
||||
let minW = Double(currentRecommendedMinimumNotchWidth())
|
||||
let maxW = min(900, Double(maxAllowedNotchWidth()))
|
||||
return minW...max(minW, maxW)
|
||||
}
|
||||
private var defaultOpenNotchWidth: CGFloat {
|
||||
currentRecommendedMinimumNotchWidth()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue