summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2018-09-11 13:33:18 +0100
committerCarl Hetherington <cth@carlh.net>2018-09-11 13:33:18 +0100
commitec95e9c3c78112c39b67f9c61595e5b29541e7e9 (patch)
tree466576c1da24d92fe3ff8370dd505f02cf206cd9
parent000177c0e4041cbea6cd6885711f83ee1855317d (diff)
Fix slider.
-rw-r--r--src/wx/controls.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/wx/controls.cc b/src/wx/controls.cc
index 96bd624ac..de0060d64 100644
--- a/src/wx/controls.cc
+++ b/src/wx/controls.cc
@@ -122,8 +122,10 @@ Controls::stopped ()
void
Controls::position_changed ()
{
- update_position_label ();
- update_position_slider ();
+ if (!_slider_being_moved) {
+ update_position_label ();
+ update_position_slider ();
+ }
}
void