BlueGit

timfa frameworkv3

fix

timfa Tim · pushed by timfa

Authored 2022-10-20 · 4 years ago

Hash
88b72f8c8f77817d660f91b497550e5f3fe2efd0
Parent
1e920c27
1 file changed +2 −2
framework/engine/image.js +2 −2
@@ -80,7 +80,7 @@ class image
80 80 get width ()
81 81 {
82 82 if (this.cacheWidth < 0)
83 this.g_image.width / this.subImagesPerRow;
83 this.cacheWidth = this.g_image.width / this.subImagesPerRow;
84 84
85 85 return this.cacheWidth;
86 86 }
@@ -88,7 +88,7 @@ class image
88 88 get height ()
89 89 {
90 90 if (this.cacheHeight < 0)
91 this.g_image.height / (Math.ceil(this.subImages / this.subImagesPerRow) + 0);
91 this.cacheHeight = this.g_image.height / (Math.ceil(this.subImages / this.subImagesPerRow) + 0);
92 92
93 93 return this.cacheHeight;
94 94 }
@@ -80,7 +80,7 @@ class image
80 get width ()
80 get width ()
81 {
81 {
82 if (this.cacheWidth < 0)
82 if (this.cacheWidth < 0)
83 this.g_image.width / this.subImagesPerRow;
83 this.cacheWidth = this.g_image.width / this.subImagesPerRow;
84
84
85 return this.cacheWidth;
85 return this.cacheWidth;
86 }
86 }
@@ -88,7 +88,7 @@ class image
88 get height ()
88 get height ()
89 {
89 {
90 if (this.cacheHeight < 0)
90 if (this.cacheHeight < 0)
91 this.g_image.height / (Math.ceil(this.subImages / this.subImagesPerRow) + 0);
91 this.cacheHeight = this.g_image.height / (Math.ceil(this.subImages / this.subImagesPerRow) + 0);
92
92
93 return this.cacheHeight;
93 return this.cacheHeight;
94 }
94 }