Restore opacity in ArcsAnimation::paint.
This commit is contained in:
parent
f6a1a44efe
commit
91e1979da5
1 changed files with 1 additions and 0 deletions
|
|
@ -224,6 +224,7 @@ void ArcsAnimation::paint(Painter &p, std::optional<QColor> colorOverride) {
|
||||||
: InterpolatedRect(arc.rect, previousRect, progress);
|
: InterpolatedRect(arc.rect, previousRect, progress);
|
||||||
p.drawArc(rect, _startAngle, _spanAngle);
|
p.drawArc(rect, _startAngle, _spanAngle);
|
||||||
}
|
}
|
||||||
|
p.setOpacity(1.);
|
||||||
}
|
}
|
||||||
|
|
||||||
void ArcsAnimation::setStrokeRatio(float ratio) {
|
void ArcsAnimation::setStrokeRatio(float ratio) {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue