瀏覽代碼

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: {