Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
godot
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
community
godot
Commits
b8423694
Unverified
Commit
b8423694
authored
Mar 09, 2018
by
Rémi Verschelde
Committed by
GitHub
Mar 09, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #17347 from Ranoller/patch-1
FIX to broken item select list (zoom and RMB)
parents
47addcf9
2aae6fc2
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
canvas_item_editor_plugin.cpp
editor/plugins/canvas_item_editor_plugin.cpp
+2
-2
No files found.
editor/plugins/canvas_item_editor_plugin.cpp
View file @
b8423694
...
@@ -1615,10 +1615,10 @@ bool CanvasItemEditor::_gui_input_select(const Ref<InputEvent> &p_event) {
...
@@ -1615,10 +1615,10 @@ bool CanvasItemEditor::_gui_input_select(const Ref<InputEvent> &p_event) {
if
(
drag_type
==
DRAG_NONE
)
{
if
(
drag_type
==
DRAG_NONE
)
{
if
(
b
.
is_valid
()
&&
if
(
b
.
is_valid
()
&&
((
b
->
get_button_index
()
==
BUTTON_
LEF
T
&&
b
->
get_alt
()
&&
tool
==
TOOL_SELECT
)
||
((
b
->
get_button_index
()
==
BUTTON_
RIGH
T
&&
b
->
get_alt
()
&&
tool
==
TOOL_SELECT
)
||
(
b
->
get_button_index
()
==
BUTTON_LEFT
&&
tool
==
TOOL_LIST_SELECT
)))
{
(
b
->
get_button_index
()
==
BUTTON_LEFT
&&
tool
==
TOOL_LIST_SELECT
)))
{
// Popup the selection menu list
// Popup the selection menu list
Point2
click
=
transform
.
xform
(
b
->
get_position
());
Point2
click
=
transform
.
affine_inverse
().
xform
(
b
->
get_position
());
Node
*
scene
=
editor
->
get_edited_scene
();
Node
*
scene
=
editor
->
get_edited_scene
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment