Pārlūkot izejas kodu

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

krzycho 10 gadi atpakaļ
vecāks
revīzija
14c63565ec
1 mainītis faili ar 1 papildinājumiem un 0 dzēšanām
  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: {