Fixed return type of QMouseEvent.button() method (#500)
This commit is contained in:
parent
d01aaa0e1f
commit
0043c50f32
@ -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 {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user