diff options
author | David Robillard <d@drobilla.net> | 2013-01-13 05:44:02 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2013-01-13 05:44:02 +0000 |
commit | cde0c55db1b96cd925314e66d19556e0c57b97a6 (patch) | |
tree | 30dace5245b2baf39e8fce012f11c99b5c327352 /src | |
parent | a2ea113e4d1be26dc4726ec1b79ef666f49b5b83 (diff) | |
download | ganv-cde0c55db1b96cd925314e66d19556e0c57b97a6.tar.gz ganv-cde0c55db1b96cd925314e66d19556e0c57b97a6.tar.bz2 ganv-cde0c55db1b96cd925314e66d19556e0c57b97a6.zip |
Fix border width for circles.
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@4951 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src')
-rw-r--r-- | src/circle.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/circle.c b/src/circle.c index 68fa612..eb43166 100644 --- a/src/circle.c +++ b/src/circle.c @@ -170,7 +170,7 @@ request_redraw(GanvItem* item, const GanvCircleCoords* coords, gboolean world) { - const double w = coords->width; + const double w = coords->width; double x1 = coords->x - coords->radius - w; double y1 = coords->y - coords->radius - w; @@ -221,6 +221,7 @@ ganv_circle_update(GanvItem* item, int flags) { GanvCircle* circle = GANV_CIRCLE(item); GanvCircleImpl* impl = circle->impl; + impl->coords.width = circle->node.impl->border_width; GanvItemClass* item_class = GANV_ITEM_CLASS(parent_class); if (item_class->update) { |