Explorar el Código

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

krzycho hace 10 años
padre
commit
14c63565ec
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  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: {