Varinat -> Variant

This commit is contained in:
Daniel Imms
2023-11-02 10:43:56 -07:00
parent 390e4f30c8
commit 6214f4c2e6
7 changed files with 27 additions and 27 deletions
+1 -1
View File
@@ -57,6 +57,6 @@ function createDimension(): IDimensions {
};
}
export function computeNextVarinatOffset(cellWidth: number, lineWidth: number, currentOffset: number = 0): number {
export function computeNextVariantOffset(cellWidth: number, lineWidth: number, currentOffset: number = 0): number {
return (cellWidth - (Math.round(lineWidth) * 2 - currentOffset)) % (Math.round(lineWidth) * 2);
}