Merge pull request #5089 from narunlifescience/master
fix rating half star issue
This commit is contained in:
commit
240605a011
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…
x
Reference in New Issue
Block a user