mirror of
https://github.com/FBukovina/Atoll.git
synced 2026-10-27 15:14:33 +00:00
Smooth Color Transition options enabled
This commit is contained in:
parent
a29f73a99b
commit
a2333b1575
1 changed files with 6 additions and 0 deletions
|
|
@ -1496,6 +1496,9 @@ private struct HUDAndOSDSettingsView: View {
|
||||||
Toggle("Use Accent Color", isOn: $verticalHUDUseAccentColor)
|
Toggle("Use Accent Color", isOn: $verticalHUDUseAccentColor)
|
||||||
Toggle("Interactive (Drag to Change)", isOn: $verticalHUDInteractive)
|
Toggle("Interactive (Drag to Change)", isOn: $verticalHUDInteractive)
|
||||||
Defaults.Toggle("Color-coded Volume", key: .useColorCodedVolumeDisplay)
|
Defaults.Toggle("Color-coded Volume", key: .useColorCodedVolumeDisplay)
|
||||||
|
if Defaults[.useColorCodedVolumeDisplay] {
|
||||||
|
Defaults.Toggle("Smooth color transitions", key: .useSmoothColorGradient)
|
||||||
|
}
|
||||||
} header: {
|
} header: {
|
||||||
Text("Behavior & Style")
|
Text("Behavior & Style")
|
||||||
}
|
}
|
||||||
|
|
@ -1560,6 +1563,9 @@ private struct HUDAndOSDSettingsView: View {
|
||||||
Toggle("Show Percentage", isOn: $circularHUDShowValue)
|
Toggle("Show Percentage", isOn: $circularHUDShowValue)
|
||||||
Toggle("Use Accent Color", isOn: $circularHUDUseAccentColor)
|
Toggle("Use Accent Color", isOn: $circularHUDUseAccentColor)
|
||||||
Defaults.Toggle("Color-coded Volume", key: .useColorCodedVolumeDisplay)
|
Defaults.Toggle("Color-coded Volume", key: .useColorCodedVolumeDisplay)
|
||||||
|
if Defaults[.useColorCodedVolumeDisplay] {
|
||||||
|
Defaults.Toggle("Smooth color transitions", key: .useSmoothColorGradient)
|
||||||
|
}
|
||||||
} header: {
|
} header: {
|
||||||
Text("Style")
|
Text("Style")
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue