Andrew V Butt Sr 4 年之前
父节点
当前提交
7a9feec38b
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      gui/src/2D/controls/image.ts

+ 1 - 1
gui/src/2D/controls/image.ts

@@ -747,7 +747,7 @@ export class Image extends Control {
     }
 
     private _renderNinePatch(context: CanvasRenderingContext2D): void {
-        let height = this._imageHeight
+        let height = this._imageHeight;
         let width = this._imageWidth;
         let leftWidth = this._sliceLeft;
         let rightWidth = this._imageWidth - this._sliceRight;