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

Show select menu on button pressed (instead of released)

This commit is contained in:
neikeq
2015-11-19 15:47:04 +01:00
parent f84dc8e59d
commit 6b0423b191
2 changed files with 52 additions and 52 deletions

View File

@@ -987,7 +987,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);