From 5cdd317253569d2481f6c73b78d21bfa5b277af8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A1szl=C3=B3=20Monda?= Date: Sun, 29 Oct 2017 00:39:00 +0200 Subject: [PATCH] Write "*wards" instead of left, right, down, and up. --- .../src/app/components/macro/item/macro-item.component.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/uhk-web/src/app/components/macro/item/macro-item.component.ts b/packages/uhk-web/src/app/components/macro/item/macro-item.component.ts index 38069706..08135470 100644 --- a/packages/uhk-web/src/app/components/macro/item/macro-item.component.ts +++ b/packages/uhk-web/src/app/components/macro/item/macro-item.component.ts @@ -171,11 +171,11 @@ export class MacroItemComponent implements OnInit, OnChanges { let needAnd: boolean; if (Math.abs(typedAction.x) !== 0) { - this.title += ` by ${Math.abs(typedAction.x)}px ${typedAction.x > 0 ? 'left' : 'right'}`; + this.title += ` by ${Math.abs(typedAction.x)}px ${typedAction.x > 0 ? 'leftward' : 'rightward'}`; needAnd = true; } if (Math.abs(typedAction.y) !== 0) { - this.title += ` ${needAnd ? 'and' : 'by'} ${Math.abs(typedAction.y)}px ${typedAction.y > 0 ? 'down' : 'up'}`; + this.title += ` ${needAnd ? 'and' : 'by'} ${Math.abs(typedAction.y)}px ${typedAction.y > 0 ? 'downward' : 'upward'}`; } }