mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-06 00:30:08 +00:00
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:
parent
11f07f9bdc
commit
230bd4b461
@ -1859,8 +1859,8 @@ draw_stepper (GtkRange *range,
|
||||
GtkWidget *widget = GTK_WIDGET (range);
|
||||
gfloat arrow_scaling;
|
||||
GdkRectangle *rect;
|
||||
gint arrow_x;
|
||||
gint arrow_y;
|
||||
gdouble arrow_x;
|
||||
gdouble arrow_y;
|
||||
gdouble arrow_size, angle;
|
||||
gboolean arrow_sensitive;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user