Fixed invalidation of CrossLineAnimation.
This commit is contained in:
parent
52e1d6d740
commit
6acc6f0483
2 changed files with 2 additions and 1 deletions
|
|
@ -98,6 +98,7 @@ void CrossLineAnimation::fillFrame(
|
||||||
void CrossLineAnimation::invalidate() {
|
void CrossLineAnimation::invalidate() {
|
||||||
_completeCross = QImage();
|
_completeCross = QImage();
|
||||||
_completeCrossOverride = QImage();
|
_completeCrossOverride = QImage();
|
||||||
|
_strokePen = QPen(_st.fg, _st.stroke, Qt::SolidLine, Qt::RoundCap);
|
||||||
}
|
}
|
||||||
|
|
||||||
} // namespace Ui
|
} // namespace Ui
|
||||||
|
|
|
||||||
|
|
@ -39,7 +39,7 @@ private:
|
||||||
const style::CrossLineAnimation &_st;
|
const style::CrossLineAnimation &_st;
|
||||||
const bool _reversed;
|
const bool _reversed;
|
||||||
const QPen _transparentPen;
|
const QPen _transparentPen;
|
||||||
const QPen _strokePen;
|
QPen _strokePen;
|
||||||
QLineF _line;
|
QLineF _line;
|
||||||
QImage _frame;
|
QImage _frame;
|
||||||
QImage _completeCross;
|
QImage _completeCross;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue