mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-10-13 20:39:41 -07:00
fix dragging interpretation in ui box -> signal path
This commit is contained in:
1 parent
77337f9e86
commit
11dd5fd21a
1 file changed
+2
-1
+2
-1
@@ -2614,7 +2614,8 @@ ui_signal_from_box(UI_Box *box)
|
||||
//
|
||||
for(EachEnumVal(UI_MouseButtonKind, k))
|
||||
{
|
||||
if(ui_key_match(ui_state->active_box_key[k], box->key))
|
||||
if(ui_key_match(ui_state->active_box_key[k], box->key) ||
|
||||
sig.f & (UI_SignalFlag_LeftPressed<<k))
|
||||
{
|
||||
sig.f |= (UI_SignalFlag_LeftDragging<<k);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user