Fixed issue with similar scroll areas not having scrollbars

This commit is contained in:
Yousef Khadadeh 2026-05-01 10:10:59 +03:00
parent 151c3f9bed
commit 5e195cf029
7 changed files with 1 additions and 28 deletions

View file

@ -559,6 +559,7 @@ void GUIManager::layout() {
#ifdef CLAY_DEBUG_MENU_ENABLED
Clay_SetPointerState({io.input->mouse.pos.x(), io.input->mouse.pos.y()}, io.input->mouse.leftDown);
#endif
Clay_UpdateScrollContainers(false, {0, 0}, 0.1f); // Important regardless if scroll position is updated with Clay or not
constexpr int LAYOUT_RUN_COUNT = 6;
for(int i = 0; i < LAYOUT_RUN_COUNT; i++)
single_layout_run();