Mladen Adamovic / F746_GUI

Dependencies:   Array_Matrix BSP_DISCO_F746NG LCD_DISCO_F746NG TS_DISCO_F746NG

Dependents:   Spectrogram

Fork of F746_GUI by 不韋 呂

Revision:
10:5a2068884fd9
Parent:
9:c379410bda15
--- a/SeekBarGroup.cpp	Sun Apr 24 11:49:42 2016 +0000
+++ b/SeekBarGroup.cpp	Wed Apr 27 00:24:18 2016 +0000
@@ -1,7 +1,7 @@
 //-----------------------------------------------------------
 //  SeekBarGroup class
 //
-//  2016/04/24, Copyright (c) 2016 MIKAMI, Naoki
+//  2016/04/26, Copyright (c) 2016 MIKAMI, Naoki
 //-----------------------------------------------------------
 
 #include "SeekBarGroup.hpp"
@@ -66,6 +66,8 @@
         {
             if (seekBars_[n]->IsOnThumb(x, y))
             {
+                if ((num != n) && Range(num))
+                    seekBars_[num]->Draw(seekBars_[num]->GetValue());
                 num = n;
                 seekBars_[n]->SetValue(seekBars_[n]->ToValue(SeekBar::Point(x, y)));
                 seekBars_[n]->Draw(seekBars_[n]->GetValue(), true);