fix auto-scrolling in debug UI (due to change in how oc_ui_panel() is structured)

This commit is contained in:
Martin Fouilleul 2023-09-08 10:11:51 +02:00
parent a275b3da28
commit 8f413fdb46
1 changed files with 1 additions and 1 deletions

View File

@ -788,7 +788,7 @@ i32 orca_runloop(void* user)
oc_ui_panel("log view", OC_UI_FLAG_SCROLL_WHEEL_Y)
{
panel = oc_ui_box_top();
panel = oc_ui_box_top()->parent;
oc_ui_style_next(&(oc_ui_style){ .size.width = { OC_UI_SIZE_PARENT, 1 },
.size.height = { OC_UI_SIZE_CHILDREN },