mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-07-19 23:16:48 +00:00
sketch out symbol lister view; float fuzzy matching code into base string layer; bugfix unnecessary ui layer view clamping
This commit is contained in:
+9
-6
@@ -2553,13 +2553,16 @@ ui_signal_from_box(UI_Box *box)
|
||||
}
|
||||
}
|
||||
}
|
||||
Vec2F32 max_view_off_target =
|
||||
if(box->flags & UI_BoxFlag_ViewClamp)
|
||||
{
|
||||
ClampBot(0, box->view_bounds.x - box->fixed_size.x),
|
||||
ClampBot(0, box->view_bounds.y - box->fixed_size.y),
|
||||
};
|
||||
box->view_off_target.x = Clamp(0, box->view_off_target.x, max_view_off_target.x);
|
||||
box->view_off_target.y = Clamp(0, box->view_off_target.y, max_view_off_target.y);
|
||||
Vec2F32 max_view_off_target =
|
||||
{
|
||||
ClampBot(0, box->view_bounds.x - box->fixed_size.x),
|
||||
ClampBot(0, box->view_bounds.y - box->fixed_size.y),
|
||||
};
|
||||
box->view_off_target.x = Clamp(0, box->view_off_target.x, max_view_off_target.x);
|
||||
box->view_off_target.y = Clamp(0, box->view_off_target.y, max_view_off_target.y);
|
||||
}
|
||||
}
|
||||
|
||||
//- rjf: focus + clicks
|
||||
|
||||
Reference in New Issue
Block a user