Navigation Menu

Skip to content

Commit

Permalink
Merge pull request #2 from madprog/master
Browse files Browse the repository at this point in the history
Set joins of path line to round, to avoid glitches on the map
  • Loading branch information
DaveDavenport committed Jul 24, 2015
2 parents a67874f + 9de1005 commit d022a86
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/gpx-viewer-path-layer.c
Expand Up @@ -524,6 +524,7 @@ static gboolean redraw_path (GpxViewerPathLayer *layer)
cairo_set_line_width (cr, priv->stroke_width);
cairo_set_dash(cr, priv->dash, priv->num_dashes, 0);
cairo_set_line_cap(cr, CAIRO_LINE_CAP_ROUND);
cairo_set_line_join(cr, CAIRO_LINE_JOIN_ROUND);
for (elem = g_list_first(priv->track->points); elem != NULL; elem = elem->next)
{
GpxPoint *location = GPX_POINT (elem->data);
Expand Down

0 comments on commit d022a86

Please sign in to comment.