From 835d77cb8584d08f94c794e9dcdc5b4edcaaaa2f Mon Sep 17 00:00:00 2001 From: Dhashvir Lalla Date: Mon, 15 Jan 2024 05:16:56 +1100 Subject: [PATCH] fix nineslice hit areas --- src/gameobjects/nineslice/NineSlice.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gameobjects/nineslice/NineSlice.js b/src/gameobjects/nineslice/NineSlice.js index 9bf69a1d6..628ff2d6f 100644 --- a/src/gameobjects/nineslice/NineSlice.js +++ b/src/gameobjects/nineslice/NineSlice.js @@ -839,7 +839,7 @@ var NineSlice = new Class({ { this.width = width; this.height = height; - + this.updateDisplayOrigin(); var input = this.input; if (input && !input.customHitArea)