added auto-scroll to rich text effect

This commit is contained in:
itsmattkc
2019-03-14 23:34:10 +11:00
parent 9fc542e688
commit 16da36f364
8 changed files with 98 additions and 31 deletions
+5 -1
View File
@@ -46,7 +46,6 @@
TimecodeEffect::TimecodeEffect(Clip* c, const EffectMeta* em) :
Effect(c, em)
{
SetAlwaysUpdate(true);
SetFlags(Effect::SuperimposeFlag);
EffectRow* tc_row = new EffectRow(this, tr("Timecode"));
@@ -138,3 +137,8 @@ void TimecodeEffect::redraw(double timecode) {
p.setBrush(color_val->GetColorAt(timecode));
p.drawPath(path);
}
bool TimecodeEffect::AlwaysUpdate()
{
return true;
}