mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-08-04 12:58:41 +00:00
eval: support for multiple namespacified fallback token lookups, to account for the several possibilities of namespaces & nested namespaces & static class members nested inside of namespaces & namespaces within namespaces within classes within namespaces & wow C++ is very bad; also ui: temporarily disable space-to-click, as it conflicts with typing and this case is not yet well supported
This commit is contained in:
+4
-2
@@ -2443,8 +2443,10 @@ ui_signal_from_box(UI_Box *box)
|
||||
B32 keyboard_click = 0;
|
||||
if(!disabled && is_focused && box->flags & UI_BoxFlag_KeyboardClickable)
|
||||
{
|
||||
if(os_key_press(ui_events(), ui_window(), 0, OS_Key_Return) != 0 ||
|
||||
os_key_press(ui_events(), ui_window(), 0, OS_Key_Space) != 0)
|
||||
if(os_key_press(ui_events(), ui_window(), 0, OS_Key_Return) != 0)
|
||||
// TODO(rjf): need to handle case where this would conflict with typing.
|
||||
// if(os_key_press(ui_events(), ui_window(), 0, OS_Key_Return) != 0 ||
|
||||
// os_key_press(ui_events(), ui_window(), 0, OS_Key_Space) != 0)
|
||||
{
|
||||
keyboard_click = 1;
|
||||
result.clicked = 1;
|
||||
|
||||
Reference in New Issue
Block a user