aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--spaghetti-monster/anduril/ramp-mode.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/spaghetti-monster/anduril/ramp-mode.c b/spaghetti-monster/anduril/ramp-mode.c
index 851f5a4..93b936a 100644
--- a/spaghetti-monster/anduril/ramp-mode.c
+++ b/spaghetti-monster/anduril/ramp-mode.c
@@ -552,7 +552,11 @@ uint8_t ramp_extras_config_state(Event event, uint16_t arg) {
void globals_config_save(uint8_t step, uint8_t value) {
if (0) {}
#ifdef USE_TINT_RAMPING
- else if (step == 1+tint_style_config_step) { tint_style = value; }
+ else if (step == 1+tint_style_config_step) {
+ tint_style = !(!(value));
+ // set tint to middle or edge depending on style being smooth or toggle
+ tint = tint_style ? 1 : 127;
+ }
#endif
#ifdef USE_JUMP_START
else if (step == 1+jump_start_config_step) { jump_start_level = value; }