We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dd405a6 commit 7a37b45Copy full SHA for 7a37b45
Qt.Widgets/Others/Wiggly/src/Wiggly.h
@@ -34,7 +34,7 @@ public slots:
34
for (auto i = 0; i < text.size(); ++i) {
35
auto index = (step + i) % sins.size();
36
painter.setPen(QColor::fromHsv(360.0f / sins.size() * index, 255, 191));
37
- painter.drawText(pos - QPoint {0, (sins[index] * metrics.height()) / 400}, QString(text[i]));
+ painter.drawText(pos - QPoint {0, (sins[index] * metrics.height()) / 400}, QString(text[i]));
38
pos.setX(pos.x() + metrics.horizontalAdvance(text[i]));
39
}
40
0 commit comments