Skip to content

Commit fbb9762

Browse files
committed
format
1 parent 2f92811 commit fbb9762

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

ops.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -132,11 +132,7 @@ export function pack(
132132
);
133133
o += 4;
134134

135-
let alignX = l.alignX === "right"
136-
? 1
137-
: l.alignX === "center"
138-
? 2
139-
: 0;
135+
let alignX = l.alignX === "right" ? 1 : l.alignX === "center" ? 2 : 0;
140136

141137
let alignY = l.alignY === "bottom"
142138
? 1

0 commit comments

Comments
 (0)