You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-06 12:20:30 +00:00
Fix key mapping changes when moving from macOS to other platform
Removes separate `Command` key (use `Meta` instead). Adds an event flag to automatically remap `Command` <-> `Control` (cannot be set alongside `Control` or `Meta`).
This commit is contained in:
@@ -627,11 +627,11 @@ void Polygon2DEditor::_uv_input(const Ref<InputEvent> &p_input) {
|
||||
}
|
||||
|
||||
if (uv_move_current == UV_MODE_EDIT_POINT) {
|
||||
if (mb->is_shift_pressed() && mb->is_command_pressed()) {
|
||||
if (mb->is_shift_pressed() && mb->is_command_or_control_pressed()) {
|
||||
uv_move_current = UV_MODE_SCALE;
|
||||
} else if (mb->is_shift_pressed()) {
|
||||
uv_move_current = UV_MODE_MOVE;
|
||||
} else if (mb->is_command_pressed()) {
|
||||
} else if (mb->is_command_or_control_pressed()) {
|
||||
uv_move_current = UV_MODE_ROTATE;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user