Skip to content

Commit

Permalink
(ckb) Fixed preview animation still playing after adding
Browse files Browse the repository at this point in the history
  • Loading branch information
ccMSC committed Aug 8, 2015
1 parent c03b42a commit 662c359
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/ckb/kblight.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ void KbLight::dimming(int newDimming){

KbAnim* KbLight::addAnim(const AnimScript *base, const QStringList &keys, const QString& name, const QMap<QString, QVariant>& preset){
// Stop and restart all existing animations
stopPreview();
quint64 timestamp = QDateTime::currentMSecsSinceEpoch();
foreach(KbAnim* anim, _animList){
anim->stop();
Expand Down

0 comments on commit 662c359

Please sign in to comment.