The redrawing of the listbox bar and buttons seem to be broken,
...only drawn once and never updated afterwards. Add a hack to fix the bar problem before 1.5.3, a real fix will follow later.
This commit is contained in:
parent
c0c6f9be20
commit
f1962d932d
1 changed files with 7 additions and 0 deletions
|
@ -365,6 +365,13 @@ void tlistbox::draw(surface& surface, const bool force,
|
|||
// Inherited.
|
||||
tcontainer_::draw(surface, force, invalidate_background);
|
||||
|
||||
/**
|
||||
* @todo there seems to be a redraw bug with the scrollbar. Since we're in
|
||||
* a rush for a release just force a redraw. The buttons are also broken
|
||||
* but less important so leave them.
|
||||
*/
|
||||
scrollbar()->draw(surface, true, true);
|
||||
|
||||
if(invalidate_background) {
|
||||
list_background_.assign(NULL);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue