mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-07-13 21:11:25 -07:00
fix backslash escaping rules in cfg serialization; fix small scrolling (e.g. from trackpad) often being truncated to having no effect; fixed hanging when set-thread-name specifies a non-readable address
This commit is contained in:
+7
-2
@@ -2525,8 +2525,13 @@ ui_signal_from_box(UI_Box *box)
|
||||
{
|
||||
Swap(F32, delta.x, delta.y);
|
||||
}
|
||||
sig.scroll.x += (S16)(delta.x/30.f);
|
||||
sig.scroll.y += (S16)(delta.y/30.f);
|
||||
Vec2S16 delta16 = v2s16((S16)(delta.x/30.f), (S16)(delta.y/30.f));
|
||||
if(delta.x > 0 && delta16.x == 0) { delta16.x = +1; }
|
||||
if(delta.x < 0 && delta16.x == 0) { delta16.x = -1; }
|
||||
if(delta.y > 0 && delta16.y == 0) { delta16.y = +1; }
|
||||
if(delta.y < 0 && delta16.y == 0) { delta16.y = -1; }
|
||||
sig.scroll.x += delta16.x;
|
||||
sig.scroll.y += delta16.y;
|
||||
taken = 1;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user