mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-06-13 07:32:23 -07:00
hack to avoid minimization causing bad panel animation state - will investigate this more fully later...
This commit is contained in:
@@ -6970,6 +6970,10 @@ rd_window_frame(RD_Window *ws)
|
||||
////////////////////////////
|
||||
//- rjf: animate panels
|
||||
//
|
||||
// TODO(rjf): @hack investigate why we were ever animating to a busted
|
||||
// rectangle when minimized...
|
||||
//
|
||||
if(!os_window_is_minimized(ws->os))
|
||||
{
|
||||
F32 rate = rd_setting_val_from_code(RD_SettingCode_MenuAnimations).s32 ? 1 - pow_f32(2, (-50.f * rd_state->frame_dt)) : 1.f;
|
||||
Vec2F32 content_rect_dim = dim_2f32(content_rect);
|
||||
|
||||
Reference in New Issue
Block a user