summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/gui/palette.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/palette.cpp b/src/gui/palette.cpp
index 090d38a3..d1d6bebf 100644
--- a/src/gui/palette.cpp
+++ b/src/gui/palette.cpp
@@ -371,6 +371,7 @@ void Palette::advanceGradient()
}
}
- mRainbowTime = tick_time;
+ if (advance)
+ mRainbowTime = tick_time;
}
}