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

remove shift key check because shift + v in use with tool mode

This commit is contained in:
volzhs
2015-08-11 22:52:43 +09:00
parent 80943d77a4
commit edabbcd064

View File

@@ -144,8 +144,8 @@ void CanvasItemEditor::_unhandled_key_input(const InputEvent& p_ev) {
if (!is_visible())
return;
if (p_ev.key.mod.control || p_ev.key.mod.shift)
// prevent to change tool mode when control or shift key is pressed
if (p_ev.key.mod.control)
// prevent to change tool mode when control key is pressed
return;
if (p_ev.key.pressed && !p_ev.key.echo && p_ev.key.scancode==KEY_Q)
_tool_select(TOOL_SELECT);