From 03cea6435a4bb8ce0939c63585a125ca3c6e4379 Mon Sep 17 00:00:00 2001 From: Quincy Morgan Date: Thu, 12 Dec 2019 17:02:55 -0500 Subject: [PATCH] Update unsquare way fix annotations --- modules/validations/unsquare_way.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/validations/unsquare_way.js b/modules/validations/unsquare_way.js index a4331458a..73a06dff7 100644 --- a/modules/validations/unsquare_way.js +++ b/modules/validations/unsquare_way.js @@ -66,7 +66,7 @@ export function validationUnsquareWay(context) { // use same degree threshold as for detection var autoAction = actionOrthogonalize(entity.id, context.projection, undefined, degreeThreshold); autoAction.transitionable = false; // when autofixing, do it instantly - autoArgs = [autoAction, t('operations.orthogonalize.annotation.area')]; + autoArgs = [autoAction, t('operations.orthogonalize.annotation.feature.single')]; } return [new validationIssue({ @@ -91,7 +91,7 @@ export function validationUnsquareWay(context) { // use same degree threshold as for detection context.perform( actionOrthogonalize(entityId, context.projection, undefined, degreeThreshold), - t('operations.orthogonalize.annotation.area') + t('operations.orthogonalize.annotation.feature.single') ); // run after the squaring transition (currently 150ms) window.setTimeout(function() { completionHandler(); }, 175);