ociogradingtransformlinear: add base for easier dragging

This commit is contained in:
itsmattkc
2022-05-07 12:34:42 -07:00
parent 63ac71b84c
commit 67516a5d45
2 changed files with 17 additions and 3 deletions
@@ -680,6 +680,13 @@ void NodeParamViewWidgetBridge::SetProperty(const QString &key, const QVariant &
}
}
} else if (key == QStringLiteral("base")) {
double d = value.toDouble();
for (int i=0; i<widgets_.size(); i++) {
static_cast<NumericSliderBase*>(widgets_.at(i))->SetDragMultiplier(d);
}
}
}