diff options
author | Fedja Beader <fedja@protonmail.ch> | 2025-08-10 22:30:04 +0000 |
---|---|---|
committer | Thorbjørn Lindeijer <bjorn@lindeijer.nl> | 2025-08-11 16:21:22 +0200 |
commit | aaa371290fff214657eeada8bd4e0f0b5c0026c3 (patch) | |
tree | ce4cb854816819728e6f8ff8d00ceae91f3b8432 | |
parent | ff32ef8aa7c4ef8ab3865a0b274f72b1bc134204 (diff) | |
download | mana-aaa371290fff214657eeada8bd4e0f0b5c0026c3.tar.gz mana-aaa371290fff214657eeada8bd4e0f0b5c0026c3.tar.bz2 mana-aaa371290fff214657eeada8bd4e0f0b5c0026c3.tar.xz mana-aaa371290fff214657eeada8bd4e0f0b5c0026c3.zip |
Fix gradient type text display being updated before slider value is read.
This resulted in gradient type text lagging one step behind the actual type.
This.. this bug was here for 14 years?!
**** mana/verse!234
-rw-r--r-- | src/gui/setup_colors.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/setup_colors.cpp b/src/gui/setup_colors.cpp index 89eb668e..52cb4bf7 100644 --- a/src/gui/setup_colors.cpp +++ b/src/gui/setup_colors.cpp @@ -187,8 +187,8 @@ void Setup_Colors::action(const gcn::ActionEvent &event) { if (event.getId() == "slider_grad") { - updateGradType(); updateColor(); + updateGradType(); return; } |