Merge branch 'bugfix/texteffect-zero' of https://github.com/freshstudio/olive into freshstudio-bugfix/texteffect-zero
This commit is contained in:
@@ -160,6 +160,9 @@ void TextEffect::redraw(double timecode) {
|
||||
bkg.setAlpha(0);
|
||||
img.fill(bkg);
|
||||
|
||||
if (size_val->GetDoubleAt(timecode) <= 0)
|
||||
return;
|
||||
|
||||
QPainter p(&img);
|
||||
p.setRenderHint(QPainter::Antialiasing);
|
||||
int padding = qRound(padding_field->GetDoubleAt(timecode));
|
||||
|
||||
Reference in New Issue
Block a user