Richard Knight 5 роки тому
батько
коміт
12246bfb2e
1 змінених файлів з 2 додано та 2 видалено
  1. 2 2
      ts/index.ts

+ 2 - 2
ts/index.ts

@@ -44,8 +44,8 @@ class Filpper {
 
 	setSizes(): void {
 		const td = this.templateData;
-		this.templateData.curSize = this.getSize(td.curVal);
-		this.templateData.nextSize = this.getSize(td.nextVal);
+		td.curSize = this.getSize(td.curVal);
+		td.nextSize = this.getSize(td.nextVal);
 	}
 
 	getSize(val: number|string): string {