Fix hitboxes not invalidated in TestRuntimeObject (#2534)

Only show in developer changelog
This commit is contained in:
D8H
2021-04-11 21:22:54 +02:00
committed by GitHub
parent e3fa31c4a4
commit 4b3fa9fc39

View File

@@ -27,11 +27,13 @@ gdjs.TestRuntimeObject = class TestRuntimeObject extends gdjs.RuntimeObject {
setCustomWidthAndHeight(customWidth, customHeight) {
this._customWidth = customWidth;
this._customHeight = customHeight;
this.hitBoxesDirty = true;
}
setCustomCenter(customCenterX, customCenterY) {
this._customCenterX = customCenterX;
this._customCenterY = customCenterY;
this.hitBoxesDirty = true;
}
getRendererObject() {