diff --git a/src/mesh/NineSlicePlane.js b/src/mesh/NineSlicePlane.js index 61ba5ee..f0d7575 100644 --- a/src/mesh/NineSlicePlane.js +++ b/src/mesh/NineSlicePlane.js @@ -172,8 +172,8 @@ const base = this._texture.baseTexture; const textureSource = base.source; - const w = base.width; - const h = base.height; + const w = base.width * base.resolution; + const h = base.height * base.resolution; this.drawSegment(context, textureSource, w, h, 0, 1, 10, 11); this.drawSegment(context, textureSource, w, h, 2, 3, 12, 13);