mirror of
https://github.com/FunKey-Project/RetroFE.git
synced 2025-12-13 10:18:53 +01:00
Only draw scrollinglist at the requested layer index.
This commit is contained in:
parent
784dfdca16
commit
9150ec2079
@ -685,7 +685,7 @@ void ScrollingList::draw(unsigned int layer)
|
||||
for(unsigned int i = 0; i < components_.size(); ++i)
|
||||
{
|
||||
Component *c = components_.at(i);
|
||||
if(c) c->draw();
|
||||
if(c && c->baseViewInfo.Layer == layer) c->draw();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user