fix more tab bar stuff; further sketchout of asynchronous dbgi layer fuzzy searching

This commit is contained in:
Ryan Fleury
2024-01-30 09:57:15 -08:00
parent d139c2874c
commit 4ef814acb5
5 changed files with 190 additions and 113 deletions
+8
View File
@@ -2546,6 +2546,14 @@ ui_signal_from_box(UI_Box *box)
{
Swap(F32, delta.x, delta.y);
}
if(!(box->flags & UI_BoxFlag_ViewScrollX))
{
delta.x = 0;
}
if(!(box->flags & UI_BoxFlag_ViewScrollY))
{
delta.y = 0;
}
os_eat_event(events, event);
box->view_off_target.x += delta.x;
box->view_off_target.y += delta.y;