1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-06 12:20:30 +00:00

Merge pull request #2831 from neikeq/select_menu_patch

Show select menu on button pressed (instead of released)
This commit is contained in:
Juan Linietsky
2015-11-19 19:34:50 -03:00
2 changed files with 52 additions and 52 deletions

View File

@@ -999,7 +999,7 @@ void CanvasItemEditor::_viewport_input_event(const InputEvent& p_event) {
if (b.button_index==BUTTON_RIGHT) {
if (!b.pressed && tool==TOOL_SELECT && b.mod.alt) {
if (b.pressed && tool==TOOL_SELECT && b.mod.alt) {
Point2 click=Point2(b.x,b.y);