Fix scrollbar issue of Fl_Text_Display (STR #3412).
This fix disables a part of the optimization introduced in svn r11208 (STR #3272). For more information see comments in STR #3412. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12526 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
parent
eb440f2d70
commit
eb772d027d
@ -492,6 +492,8 @@ void Fl_Text_Display::resize(int X, int Y, int W, int H) {
|
||||
// for large buffers that suffer from slow calculations of character width
|
||||
// to determine line wrapping.
|
||||
|
||||
oldTAWidth = -1; // force _first_ calculation in loop (STR #3412)
|
||||
|
||||
if (mContinuousWrap && !mWrapMarginPix) {
|
||||
|
||||
int nvlines = (text_area.h + mMaxsize - 1) / mMaxsize;
|
||||
|
Loading…
x
Reference in New Issue
Block a user