Fix linting issues
Co-authored-by: Tyriar <2193314+Tyriar@users.noreply.github.com>
This commit is contained in:
co-authored by
Tyriar
parent
b3503f4916
commit
3e60d791d5
@@ -18,7 +18,7 @@ export function generateConfig(deviceCellWidth: number, deviceCellHeight: number
|
|||||||
// Calculate the multiplier based on font size
|
// Calculate the multiplier based on font size
|
||||||
lineHeightMultiplier = pxValue / options.fontSize;
|
lineHeightMultiplier = pxValue / options.fontSize;
|
||||||
}
|
}
|
||||||
|
|
||||||
// null out some fields that don't matter
|
// null out some fields that don't matter
|
||||||
const clonedColors: IColorSet = {
|
const clonedColors: IColorSet = {
|
||||||
foreground: colors.foreground,
|
foreground: colors.foreground,
|
||||||
|
|||||||
@@ -75,4 +75,4 @@ describe('calculateLineHeightInPixels', () => {
|
|||||||
assert.equal(calculateLineHeightInPixels('1px', 0), 1);
|
assert.equal(calculateLineHeightInPixels('1px', 0), 1);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -83,4 +83,4 @@ describe('OptionsService lineHeight', () => {
|
|||||||
assert.throws(() => optionsService.options.lineHeight = {} as any);
|
assert.throws(() => optionsService.options.lineHeight = {} as any);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user