src/FingersDance.Control.SyncSource/UserControlSyncSource.xaml.cs
changeset 205 468f3757f1f8
parent 195 48b3139bb182
child 206 89813df17ec2
equal deleted inserted replaced
204:240314f2e5bf 205:468f3757f1f8
   128             {
   128             {
   129                 TimeSpan ts = new TimeSpan(0, 0, 0, 0, SliderValue);
   129                 TimeSpan ts = new TimeSpan(0, 0, 0, 0, SliderValue);
   130 
   130 
   131                 UserControlPlayer.Player.Position = ts;
   131                 UserControlPlayer.Player.Position = ts;
   132                 UserControlPlayer.playerPlay();
   132                 UserControlPlayer.playerPlay();
   133                 UserControlPlayer.Time = (float)SliderValue / 1000;
       
   134 
   133 
   135                 UCTimeLine.IsDragging = false;
   134                 UCTimeLine.IsDragging = false;
   136                 UCTimeLine.FinishedDragging = false;
   135                 UCTimeLine.FinishedDragging = false;
   137             }
   136             }
       
   137             UserControlPlayer.Time = (float)SliderValue / 1000;
   138             DataDictionary Data = (new DataFactory()).Data;
   138             DataDictionary Data = (new DataFactory()).Data;
   139             UserControlPlayer.ApplyColor(Data.GetColors((int)((float)SliderValue / 1000)));
   139             UserControlPlayer.ApplyColor(Data.GetColors((int)((float)SliderValue / 1000)));
   140         }
   140         }
   141         #endregion
   141         #endregion
   142 
   142