range: x and y coordinates of the arrow rendering should be double
To prevent off-by-one rounding errors when drawing them later.
This commit is contained in:
@@ -1859,8 +1859,8 @@ draw_stepper (GtkRange *range,
|
|||||||
GtkWidget *widget = GTK_WIDGET (range);
|
GtkWidget *widget = GTK_WIDGET (range);
|
||||||
gfloat arrow_scaling;
|
gfloat arrow_scaling;
|
||||||
GdkRectangle *rect;
|
GdkRectangle *rect;
|
||||||
gint arrow_x;
|
gdouble arrow_x;
|
||||||
gint arrow_y;
|
gdouble arrow_y;
|
||||||
gdouble arrow_size, angle;
|
gdouble arrow_size, angle;
|
||||||
gboolean arrow_sensitive;
|
gboolean arrow_sensitive;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user