Enable scaling the selection via hotkeys

This commit is contained in:
Quincy Morgan
2020-09-21 14:02:41 -04:00
parent 28ea082892
commit 45decdb54c
8 changed files with 190 additions and 5 deletions

View File

@@ -400,6 +400,28 @@ en:
line: Reversed a line.
lines: Reversed multiple lines.
features: Reversed multiple features.
scale:
annotation:
down:
feature:
one: Scaled down a feature.
other: "Scaled down {n} features."
up:
feature:
one: Scaled up a feature.
other: "Scaled up {n} features."
too_small:
single: This feature can't be scaled down because it would become too small.
multiple: These features can't be scaled down because they would become too small.
too_large:
single: This feature can't be scaled because not enough of it is currently visible.
multiple: These features can't be scaled because not enough of them are currently visible.
connected_to_hidden:
single: This feature can't be scaled because it is connected to a hidden feature.
multiple: These features can't be scaled because some are connected to hidden features.
not_downloaded:
single: This feature can't be scaled because parts of it have not yet been downloaded.
multiple: These features can't be scaled because parts of them have not yet been downloaded.
split:
title: Split
description:
@@ -2172,6 +2194,8 @@ en:
move: "Move selected features"
nudge: "Nudge selected features"
nudge_more: "Nudge selected features by a lot"
scale: "Scale selected features"
scale_more: "Scale selected features by a lot"
rotate: "Rotate selected features"
orthogonalize: "Square corners of a line or area"
straighten: "Straighten a line or points"

View File

@@ -281,6 +281,18 @@
"text": "shortcuts.editing.operations.nudge_more",
"separator": ","
},
{
"modifiers": ["⇧"],
"shortcuts": ["+", "-"],
"text": "shortcuts.editing.operations.scale",
"separator": ","
},
{
"modifiers": ["⌥", "⇧"],
"shortcuts": ["+", "-"],
"text": "shortcuts.editing.operations.scale_more",
"separator": ","
},
{
"shortcuts": ["operations.rotate.key"],
"text": "shortcuts.editing.operations.rotate"