mirror of
https://github.com/4ian/GDevelop.git
synced 2025-10-15 10:19:04 +00:00
Fix hitboxes not invalidated in TestRuntimeObject (#2534)
Only show in developer changelog
This commit is contained in:
@@ -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() {
|
||||
|
Reference in New Issue
Block a user