Преглед изворни кода

Fixed ui_accept problem. It's possible now to make a custom ui_accept action event and pull it.

krzycho пре 10 година
родитељ
комит
14c63565ec
1 измењених фајлова са 1 додато и 0 уклоњено
  1. 1 0
      scene/gui/base_button.cpp

+ 1 - 0
scene/gui/base_button.cpp

@@ -148,6 +148,7 @@ void BaseButton::_input_event(InputEvent p_event) {
 					update();
 			}
 		} break;
+		case InputEvent::ACTION:
 		case InputEvent::JOYSTICK_BUTTON:
 		case InputEvent::KEY: {