summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2013-01-13 23:56:16 +0000
committerDavid Robillard <d@drobilla.net>2013-01-13 23:56:16 +0000
commitb50166512305839e6e4d21ae164aeccf7014456b (patch)
tree0a75f71367abd4987c6273f130003dabe1cc378b /src
parentd961d48c953429d630ce33e09bf214e673151339 (diff)
downloadganv-b50166512305839e6e4d21ae164aeccf7014456b.tar.gz
ganv-b50166512305839e6e4d21ae164aeccf7014456b.tar.bz2
ganv-b50166512305839e6e4d21ae164aeccf7014456b.zip
Attempt to fix artifacts left behind by edge handle.
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@4972 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src')
-rw-r--r--src/edge.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/edge.c b/src/edge.c
index 21ce8de..ab41ecf 100644
--- a/src/edge.c
+++ b/src/edge.c
@@ -208,11 +208,12 @@ ganv_edge_request_redraw(GanvCanvasBase* canvas,
}
if (coords->handle_radius > 0.0) {
- ganv_canvas_base_request_redraw(canvas,
- coords->handle_x - coords->handle_radius,
- coords->handle_y - coords->handle_radius,
- coords->handle_x + coords->handle_radius,
- coords->handle_y + coords->handle_radius);
+ ganv_canvas_base_request_redraw(
+ canvas,
+ coords->handle_x - coords->handle_radius - w,
+ coords->handle_y - coords->handle_radius - w,
+ coords->handle_x + coords->handle_radius + w,
+ coords->handle_y + coords->handle_radius + w);
}
if (coords->arrowhead) {