Update GuiObject.ts
This commit is contained in:
parent
ae9581e69c
commit
63d12df224
@ -43,7 +43,7 @@ export default abstract class GuiObject {
|
|||||||
this._container.onwheel = (e) => {
|
this._container.onwheel = (e) => {
|
||||||
if (this.enabled) this.onWheel(e);
|
if (this.enabled) this.onWheel(e);
|
||||||
};
|
};
|
||||||
this._container.onclick = (e) => {
|
this._container.pointerdown = (e) => {
|
||||||
if (this.enabled) this.onClick(e);
|
if (this.enabled) this.onClick(e);
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user