Support straightening of points

(closes #6217)

- Split `actionStraighten` into `actionStraightenWay` and `actionStraightenNodes`
- Now `operationStraighten` chooses the correct action depending on selected entities
- Also move `getSmallestSurroundingRectangle` from `actionReflect` to `geo.js`
This commit is contained in:
Bryan Housel
2019-04-24 01:52:34 -04:00
parent bc3353d386
commit 05949608aa
13 changed files with 314 additions and 124 deletions
+8 -4
View File
@@ -119,12 +119,16 @@ en:
not_downloaded: This can't be made square because parts of it have not yet been downloaded.
straighten:
title: Straighten
description: Straighten this line.
description:
points: Straighten these points.
line: Straighten this line.
key: S
annotation: Straightened a line.
annotation:
points: Straightened several points.
line: Straightened a line.
too_bendy: This can't be straightened because it bends too much.
connected_to_hidden: This line can't be straightened because it is connected to a hidden feature.
not_downloaded: This line can't be straightened because parts of it have not yet been downloaded.
connected_to_hidden: This can't be straightened because it is connected to a hidden feature.
not_downloaded: This can't be straightened because parts of it have not yet been downloaded.
delete:
title: Delete
description: