Update GuiObject.ts

This commit is contained in:
Koneko 2025-01-08 17:35:36 +01:00 committed by GitHub
parent ae9581e69c
commit 63d12df224
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -43,7 +43,7 @@ export default abstract class GuiObject {
this._container.onwheel = (e) => {
if (this.enabled) this.onWheel(e);
};
this._container.onclick = (e) => {
this._container.pointerdown = (e) => {
if (this.enabled) this.onClick(e);
};
}