Fix #116844: Transform -> Move shows mouse button shortcut

The order key-maps are stored changed in [0], causing the mouse button
shortcut to be shown instead of the "G" key.

[0]: d7558a243c
This commit is contained in:
Campbell Barton 2024-03-01 09:22:02 +11:00
parent fc6975e218
commit f4cc984038
1 changed files with 2 additions and 1 deletions

View File

@ -357,7 +357,6 @@ def _template_items_transform_actions(
use_shear=False,
):
items = [
("transform.translate", {"type": params.select_mouse, "value": 'CLICK_DRAG'}, None),
op_tool_optional(
("transform.translate", {"type": 'G', "value": 'PRESS'}, None),
(op_tool_cycle, "builtin.move"), params),
@ -367,6 +366,8 @@ def _template_items_transform_actions(
op_tool_optional(
("transform.resize", {"type": 'S', "value": 'PRESS'}, None),
(op_tool_cycle, "builtin.scale"), params),
("transform.translate", {"type": params.select_mouse, "value": 'CLICK_DRAG'}, None),
]
if use_bend: