diff options
author | Tametomo <irarice@gmail.com> | 2009-05-12 12:03:03 -0600 |
---|---|---|
committer | Thorbjørn Lindeijer <thorbjorn@lindeijer.nl> | 2010-02-14 20:54:02 +0100 |
commit | 062437bf34fca2fd7317de94a7c62aa6c963f1ae (patch) | |
tree | 4149c2a1e8997c6cea27c150ce39e07c502d6e83 /src/gui | |
parent | 3eed2628ecb10a688f48db0c3cc7bac70dca22b7 (diff) | |
download | mana-062437bf34fca2fd7317de94a7c62aa6c963f1ae.tar.gz mana-062437bf34fca2fd7317de94a7c62aa6c963f1ae.tar.bz2 mana-062437bf34fca2fd7317de94a7c62aa6c963f1ae.tar.xz mana-062437bf34fca2fd7317de94a7c62aa6c963f1ae.zip |
Ensure that gradients update when the framerate is 200 or more.
Signed-off-by: Tametomo <irarice@gmail.com>
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/palette.cpp | 3 |
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; } } |