diff options
author | corvid <corvid@lavabit.com> | 2012-10-03 05:36:44 +0000 |
---|---|---|
committer | corvid <corvid@lavabit.com> | 2012-10-03 05:36:44 +0000 |
commit | 16d2a80cd16960618df724aba9f098ecb12bd5d2 (patch) | |
tree | b7c5d7cdee23447ff2521d99eedd5b016e9d8a81 /dw | |
parent | 39ee4950acf53e63f0a8bf8cd7111f7ad282f6bb (diff) |
comment the fl_pie workaround
Diffstat (limited to 'dw')
-rw-r--r-- | dw/fltkviewbase.cc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/dw/fltkviewbase.cc b/dw/fltkviewbase.cc index 240937e2..d9782a4e 100644 --- a/dw/fltkviewbase.cc +++ b/dw/fltkviewbase.cc @@ -472,8 +472,11 @@ void FltkViewBase::drawArc (core::style::Color *color, int y = translateCanvasYToViewY (centerY) - height / 2; fl_arc(x, y, width, height, angle1, angle2); - if (filled) + if (filled) { + // WORKAROUND: We call both fl_arc and fl_pie due to a FLTK bug + // (STR #2703) that was present in 1.3.0. fl_pie(x, y, width, height, angle1, angle2); + } } void FltkViewBase::drawPolygon (core::style::Color *color, |