From d9ba4bda2b08d744cc3ed9e3596f2842d3ddca86 Mon Sep 17 00:00:00 2001 From: Jonathan Moore Liles Date: Sat, 13 Jul 2013 13:58:26 -0700 Subject: [PATCH] Timeline/Control_Point: Don't draw with zero width. --- timeline/src/Control_Point.C | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/timeline/src/Control_Point.C b/timeline/src/Control_Point.C index ccb8f04..c13f413 100644 --- a/timeline/src/Control_Point.C +++ b/timeline/src/Control_Point.C @@ -78,7 +78,7 @@ Control_Point::draw_box ( void ) else fl_color( box_color() ); - fl_pie( x() - w() / 2, y() - h() / 2, w(), h(), 0, 360 ); + fl_pie( x() - ( abs_w() / 2 ), y() - ( h() / 2 ), abs_w(), h(), 0, 360 ); if ( this == Sequence_Widget::belowmouse() || this == Sequence_Widget::pushed() )