FL: Clip drawing of value of FL_Sometimes_Input when in non-input mode.
This commit is contained in:
parent
7a702eefb8
commit
178becd88c
|
@ -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) );
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue