mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-10-14 12:59:41 -07:00
fix loading in transient views
This commit is contained in:
1 parent
d956f7a266
commit
5ff9e47f8a
2 files changed
+7
-2
No files matched your search
+2
-1
@@ -7782,7 +7782,8 @@ df_window_update_and_render(Arena *arena, DF_Window *ws, DF_CmdList *cmds)
|
||||
{
|
||||
df_gfx_request_frame();
|
||||
}
|
||||
if(view->loading_t_target != 0 && view == df_selected_tab_from_panel(t->panel))
|
||||
if(view->loading_t_target != 0 && (view == df_selected_tab_from_panel(t->panel) ||
|
||||
t->transient_owner == df_selected_tab_from_panel(t->panel)))
|
||||
{
|
||||
df_gfx_request_frame();
|
||||
}
|
||||
|
||||
@@ -8188,7 +8188,11 @@ internal UI_BOX_CUSTOM_DRAW(df_bitmap_view_canvas_box_draw)
|
||||
}
|
||||
}
|
||||
|
||||
DF_VIEW_SETUP_FUNCTION_DEF(Bitmap) {}
|
||||
DF_VIEW_SETUP_FUNCTION_DEF(Bitmap)
|
||||
{
|
||||
df_view_equip_loading_info(view, 1, 0, 0);
|
||||
view->loading_t = view->loading_t_target = 1.f;
|
||||
}
|
||||
DF_VIEW_CMD_FUNCTION_DEF(Bitmap) {}
|
||||
DF_VIEW_UI_FUNCTION_DEF(Bitmap)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user