Skip to content

Commit 7a37b45

Browse files
committed
Update Wiggly.h
1 parent dd405a6 commit 7a37b45

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Qt.Widgets/Others/Wiggly/src/Wiggly.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ public slots:
3434
for (auto i = 0; i < text.size(); ++i) {
3535
auto index = (step + i) % sins.size();
3636
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]));
37+
painter.drawText(pos - QPoint {0, (sins[index] * metrics.height()) / 400}, QString(text[i]));
3838
pos.setX(pos.x() + metrics.horizontalAdvance(text[i]));
3939
}
4040
}

0 commit comments

Comments
 (0)