mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-08-07 06:18:42 +00:00
fix loading in transient views
This commit is contained in:
+2
-1
@@ -7782,7 +7782,8 @@ df_window_update_and_render(Arena *arena, DF_Window *ws, DF_CmdList *cmds)
|
|||||||
{
|
{
|
||||||
df_gfx_request_frame();
|
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();
|
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_CMD_FUNCTION_DEF(Bitmap) {}
|
||||||
DF_VIEW_UI_FUNCTION_DEF(Bitmap)
|
DF_VIEW_UI_FUNCTION_DEF(Bitmap)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user