mirror of
https://github.com/fltk/fltk.git
synced 2026-06-04 06:56:24 +08:00
Fl_Browser_ didn't update the position properly when an item was
deleted (STR #839) git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4340 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
@@ -2,6 +2,8 @@ CHANGES IN FLTK 1.1.7
|
||||
|
||||
- Documentation fixes (STR #648, STR #692, STR #730, STR
|
||||
#744, STR #745)
|
||||
- Fl_Browser_ didn't update the position properly when an
|
||||
item was deleted (STR #839)
|
||||
- fl_contrast() now compares the luminosity of each color
|
||||
(STR #837)
|
||||
- Fl_Input_ crashed on some platforms when wrapping
|
||||
|
||||
@@ -457,6 +457,7 @@ void Fl_Browser_::deleting(void* l) {
|
||||
} else {
|
||||
// we don't know where this item is, recalculate top...
|
||||
real_position_ = 0;
|
||||
offset_ = 0;
|
||||
top_ = 0;
|
||||
}
|
||||
if (l == selection_) selection_ = 0;
|
||||
|
||||
Reference in New Issue
Block a user