Browse Source

Missing cleanup

David Catuhe 6 years ago
parent
commit
973ec1f95b
1 changed files with 0 additions and 18 deletions
  1. 0 18
      gui/src/2D/controls/image.ts

+ 0 - 18
gui/src/2D/controls/image.ts

@@ -25,7 +25,6 @@ export class Image extends Control {
     private _cellHeight: number = 0;
     private _cellId: number = -1;
 
-    private _useNinePatch = false;
     private _populateNinePatchSlicesFromImage = false;
     private _sliceLeft: number;
     private _sliceRight: number;
@@ -45,23 +44,6 @@ export class Image extends Control {
     }
 
     /**
-     * Gets or sets a boolean indicating if nine patch should be used
-     */
-    public get useNinePatch(): boolean {
-        return this._useNinePatch;
-    }
-
-    public set useNinePatch(value: boolean) {
-        if (this._useNinePatch === value) {
-            return;
-        }
-
-        this._useNinePatch = value;
-
-        this._markAsDirty();
-    }
-
-    /**
      * Gets or sets a boolean indicating if nine patch slices (left, top, right, bottom) should be read from image data
      */
     public get populateNinePatchSlicesFromImage(): boolean {