This commit is contained in:
MihailRis 2025-12-11 21:58:25 +03:00
parent 6832b5e598
commit 08f91697ef

View file

@ -270,7 +270,6 @@ void GUI::draw(const DrawContext& pctx, const Assets& assets) {
auto& page = menu->getCurrent();
if (page.panel) {
menu->setSize(page.panel->getSize());
// page.panel->refresh();
if (auto panel = std::dynamic_pointer_cast<gui::Panel>(page.panel)) {
panel->cropToContent();
}