mirror of
https://github.com/godotengine/godot.git
synced 2025-11-01 14:11:15 +00:00
Rename "Control" key to "Ctrl" and add "_pressed" suffix to all InputEventWithModifiers properties/methods
This commit is contained in:
parent
c3f7465b7e
commit
97fecd1b69
58 changed files with 398 additions and 398 deletions
|
|
@ -613,11 +613,11 @@ void Polygon2DEditor::_uv_input(const Ref<InputEvent> &p_input) {
|
|||
}
|
||||
|
||||
if (uv_move_current == UV_MODE_EDIT_POINT) {
|
||||
if (mb->get_shift() && mb->get_command()) {
|
||||
if (mb->is_shift_pressed() && mb->is_command_pressed()) {
|
||||
uv_move_current = UV_MODE_SCALE;
|
||||
} else if (mb->get_shift()) {
|
||||
} else if (mb->is_shift_pressed()) {
|
||||
uv_move_current = UV_MODE_MOVE;
|
||||
} else if (mb->get_command()) {
|
||||
} else if (mb->is_command_pressed()) {
|
||||
uv_move_current = UV_MODE_ROTATE;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue