Fixed return type of QMouseEvent.button() method (#500)

This commit is contained in:
Solant 2020-04-11 16:02:06 +03:00 committed by GitHub
parent d01aaa0e1f
commit 0043c50f32
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6,7 +6,7 @@ export class QMouseEvent {
constructor(event: NativeElement) {
this.native = new addon.QMouseEvent(event);
}
button(): string {
button(): number {
return this.native.button();
}
x(): number {