Browse Source

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

tags/non-daw-v1.1.0
Jonathan Moore Liles 15 years ago
parent
commit
178becd88c
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      FL/Fl_Sometimes_Input.H

+ 1
- 1
FL/Fl_Sometimes_Input.H 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) );
}
}



Loading…
Cancel
Save