mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-09-30 11:07:38 +00:00
quartz: _gdk_quartz_gc_update_cg_context(): the minimum line width is 1.0
not G_MINFLOAT. Patch from Kristian Rietveld.
This commit is contained in:
parent
376fc4d712
commit
5934ad2e22
@ -551,7 +551,7 @@ _gdk_quartz_gc_update_cg_context (GdkGC *gc,
|
||||
CGContextSetStrokeColorWithColor (context, color);
|
||||
CGColorRelease (color);
|
||||
|
||||
CGContextSetLineWidth (context, MAX (G_MINFLOAT, private->line_width));
|
||||
CGContextSetLineWidth (context, MAX (1.0, private->line_width));
|
||||
|
||||
switch (private->line_style)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user