Revert "UI: don't highlight number button while dragging"
This reverts commit bb513b173e.
Broke click events.
This commit is contained in:
@@ -4171,7 +4171,7 @@ static void ui_numedit_set_active(uiBut *but)
|
||||
but->drawflag &= ~(UI_BUT_ACTIVE_LEFT | UI_BUT_ACTIVE_RIGHT);
|
||||
|
||||
uiHandleButtonData *data = but->active;
|
||||
if (!data || (data->state == BUTTON_STATE_NUM_EDITING)) {
|
||||
if (!data) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user