fix scrolling around image list
This commit is contained in:
parent
0a5e65d7fe
commit
6b97b13011
1 changed files with 1 additions and 1 deletions
|
@ -1431,7 +1431,7 @@ void ImageListBox::setSelected(int selected)
|
|||
par = par->getParent();
|
||||
}
|
||||
|
||||
gcn::ScrollArea* scrollArea = dynamic_cast<gcn::ScrollArea *>(par);
|
||||
gcn::ScrollArea* scrollArea = dynamic_cast<gcn::ScrollArea *>(getParent());
|
||||
if (scrollArea != NULL)
|
||||
{
|
||||
gcn::Rectangle scroll;
|
||||
|
|
Loading…
Add table
Reference in a new issue