Fix overlay opacity setting not being applied
The overlayOpacity setting was being saved but not used. The TopOverlayView was incorrectly using clockOpacity instead of overlayOpacity, causing the "Overlay Opacity" slider in settings to have no effect. Changed ClockOverlayContainer to pass style.overlayOpacity to TopOverlayView, enabling independent control of overlay opacity separate from clock digit opacity. Signed-off-by: Matt Bruce <mbrucedogs@gmail.com> Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
parent
b1aa927bf8
commit
01931244e0
@ -22,7 +22,7 @@ struct ClockOverlayContainer: View {
|
|||||||
showBattery: style.showBattery,
|
showBattery: style.showBattery,
|
||||||
showDate: style.showDate,
|
showDate: style.showDate,
|
||||||
color: style.effectiveDigitColor,
|
color: style.effectiveDigitColor,
|
||||||
opacity: style.clockOpacity,
|
opacity: style.overlayOpacity,
|
||||||
dateFormat: style.dateFormat
|
dateFormat: style.dateFormat
|
||||||
)
|
)
|
||||||
.padding(.top, Design.Spacing.small)
|
.padding(.top, Design.Spacing.small)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user