2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 14:45:14 +00:00

Fixed drawing of ttl circles with non-default scale.

This commit is contained in:
23rd
2024-01-04 13:22:20 +03:00
parent 69f8cb5951
commit 098e797045
3 changed files with 26 additions and 12 deletions

View File

@@ -86,7 +86,7 @@ constexpr auto kBlurRadius = 24;
q.drawArc(innerRect, arc::kQuarterLength, arc::kHalfLength);
q.setClipRect(innerRect
- QMargins(innerRect.width() / 2, 0, -penWidth, -penWidth));
- QMargins(innerRect.width() / 2, -penWidth, -penWidth, -penWidth));
pen.setStyle(Qt::DotLine);
q.setPen(pen);
q.drawEllipse(innerRect);