moved effects slider drag bool to static and outside core

This commit is contained in:
itsmattkc
2021-07-19 19:25:45 -07:00
parent 9b0c5373b5
commit 6da4464f05
6 changed files with 16 additions and 17 deletions
+1 -2
View File
@@ -22,7 +22,6 @@
#include <QDebug>
#include "core.h"
#include "node/output/track/track.h"
#include "transition/transition.h"
#include "widget/slider/floatslider.h"
@@ -245,7 +244,7 @@ void Block::InvalidateCache(const TimeRange& range, const QString& from, int ele
// We must intercept the signal here
r = TimeRange(qMin(length(), last_length_), RATIONAL_MAX);
if (!Core::instance()->EffectsSliderIsBeingDragged()) {
if (!NumericSliderBase::IsEffectsSliderBeingDragged()) {
last_length_ = length();
}