mirror of
https://github.com/clementine-player/Clementine
synced 2024-12-23 00:09:14 +01:00
fix rating half star issue
This commit is contained in:
parent
b9eca5e323
commit
2b5ad90ea8
Binary file not shown.
Before Width: | Height: | Size: 416 B After Width: | Height: | Size: 452 B |
BIN
data/star-on.png
BIN
data/star-on.png
Binary file not shown.
Before Width: | Height: | Size: 356 B After Width: | Height: | Size: 352 B |
@ -26,7 +26,7 @@ class RatingPainter {
|
|||||||
RatingPainter();
|
RatingPainter();
|
||||||
|
|
||||||
static const int kStarCount = 5;
|
static const int kStarCount = 5;
|
||||||
static const int kStarSize = 15;
|
static const int kStarSize = 16;
|
||||||
static QRect Contents(const QRect& rect);
|
static QRect Contents(const QRect& rect);
|
||||||
static double RatingForPos(const QPoint& pos, const QRect& rect);
|
static double RatingForPos(const QPoint& pos, const QRect& rect);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user