Update unsquare way fix annotations

This commit is contained in:
Quincy Morgan
2019-12-12 17:02:55 -05:00
parent 912151ff38
commit 03cea6435a
+2 -2
View File
@@ -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);