From 062437bf34fca2fd7317de94a7c62aa6c963f1ae Mon Sep 17 00:00:00 2001 From: Tametomo Date: Tue, 12 May 2009 12:03:03 -0600 Subject: Ensure that gradients update when the framerate is 200 or more. Signed-off-by: Tametomo --- src/gui/palette.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') 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; } } -- cgit v1.2.3-70-g09d2