diff options
author | David Robillard <d@drobilla.net> | 2013-01-13 23:56:16 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2013-01-13 23:56:16 +0000 |
commit | b50166512305839e6e4d21ae164aeccf7014456b (patch) | |
tree | 0a75f71367abd4987c6273f130003dabe1cc378b /src | |
parent | d961d48c953429d630ce33e09bf214e673151339 (diff) | |
download | ganv-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.c | 11 |
1 files changed, 6 insertions, 5 deletions
@@ -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) { |