We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0e0e931 commit f88daceCopy full SHA for f88dace
1 file changed
src/util.js
@@ -39,7 +39,7 @@ export const xyToString = function (x, y, precision = 3) {
39
}
40
41
export const sizeToString = function (size) {
42
- return `${size.width.toFixed(1)}×${size.height.toFixed(1)} [${size.aspectRatio.toFixed(3)}] mode=${aspectModeToString(size.aspectMode)}${getSizeMaxString(size)}${getSizeMinString(size)}${getSizeSnapString(size, 1)}${size._parent ? (' ← ' + sizeToString(size._parent)) : ''}`
+ return `${size.width.toFixed(1)}×${size.height.toFixed(1)} [${size.aspectRatio.toFixed(3)}] mode=${aspectModeToString(size.aspectMode)}${getSizeMaxString(size)}${getSizeMinString(size)}${getSizeSnapString(size, 1)}${size._parent ? (` ← ${sizeToString(size._parent)}`) : ''}`
43
44
45
export const rectToString = function (rect, precision = 1) {
0 commit comments