Fix broken fadeout

parent ce23fec8
Pipeline #3051 passed with stage
in 20 minutes and 25 seconds
......@@ -111,7 +111,7 @@ void PositionEditWidget::slotRefresh()
if (val < 0) {
val = -val;
} else {
val = max - value.toInt();
val = max - val;
}
}
}
......
......@@ -588,7 +588,7 @@ bool EffectStackModel::adjustFadeLength(int duration, bool fromStart, bool audio
if (oldDuration == -1) {
oldDuration = effect->filter().get_length();
}
effect->filter().set("out", out);
effect->filter().set("out", out - 1);
duration = qMin(itemDuration, duration);
effect->filter().set("in", out - duration);
indexes << getIndexFromItem(effect);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment