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 8bd19416..7323662f 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 @@ -176,7 +176,7 @@ 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 ? 'leftward' : 'rightward'}`; + this.title += ` by ${Math.abs(typedAction.x)}px ${typedAction.x > 0 ? 'rightward' : 'leftward'}`; needAnd = true; } if (Math.abs(typedAction.y) !== 0) {