FL: Clip drawing of value of FL_Sometimes_Input when in non-input mode.

pull/3/head
Jonathan Moore Liles 2010-02-03 04:56:30 -06:00
parent 7a702eefb8
commit 178becd88c
1 changed files with 1 additions and 1 deletions

View File

@ -53,7 +53,7 @@ public:
fl_draw_box( up_box(), x(), y(), w(), h(), color() );
fl_color( FL_FOREGROUND_COLOR /* textcolor() */ );
fl_font( textfont(), textsize() );
fl_draw( value(), x(), y(), w(), h(), FL_ALIGN_CENTER );
fl_draw( value(), x(), y(), w(), h(), (Fl_Align)(FL_ALIGN_CENTER | FL_ALIGN_CLIP) );
}
}