From: Pierre-Luc Beaudoin Date: Sun, 14 Jun 2009 17:17:55 +0000 (-0400) Subject: Fix very wide shadow actors X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=765a5110609089527cfb85d8f48514d237f5782d;p=libchamplain Fix very wide shadow actors The shadow actor was way to large and resulted in very large reactive areas for markers. --- diff --git a/champlain/champlain-marker.c b/champlain/champlain-marker.c index 732ea12..cb16c09 100644 --- a/champlain/champlain-marker.c +++ b/champlain/champlain-marker.c @@ -448,7 +448,7 @@ draw_shadow (ChamplainMarker *marker, else x = -58 * slope; - shadow = clutter_cairo_new (width * 1.5, (height + point)); + shadow = clutter_cairo_new (width + x, (height + point)); cr = clutter_cairo_create (CLUTTER_CAIRO (shadow)); cairo_matrix_init (&matrix,