WIP | Syllable AI [RL API]

This commit is contained in:
meowarex
2026-08-11 07:57:30 +00:00
parent d44d833334
commit ba9bba2030
6 changed files with 51 additions and 12 deletions
@@ -190,7 +190,9 @@ class PatchOptionsModel(
fun isAdvancedModified(spec: PatchSpec): Boolean = spec.advancedOptions.any { option ->
when (option) {
is OptionSpec.Toggle -> toggleValue(spec, option) != option.default
// inline toggles sit next to the variant picker, not in the sheet, so they
// must not light up the sheet's "modified" dot
is OptionSpec.Toggle -> !option.inline && toggleValue(spec, option) != option.default
is OptionSpec.Slider -> sliderValue(spec, option) != option.default
is OptionSpec.Choice -> choiceValue(spec, option) != option.defaultIndex
is OptionSpec.Color -> colorValue(spec, option) != option.default