Supporting setting panel layout
This commit is contained in:
@@ -80,7 +80,7 @@ u32 PanelRegistry::visibleCount() const {
|
||||
void PanelRegistry::update(const FrameInfo& frameInfo) {
|
||||
for (auto& slot : slots) {
|
||||
if (slot.panel && slot.panel->isVisible()) {
|
||||
slot.panel->onUpdate(frameInfo);
|
||||
slot.panel->draw(frameInfo);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user