node-sdl icon indicating copy to clipboard operation
node-sdl copied to clipboard

For MouseWheel event, type = 'flipped', should be 'mouseWheel'

Open vector-flys opened this issue 1 year ago • 1 comments

In index.d.ts, line 65:

		export interface MouseWheel extends MouseEvent {
			readonly type: 'flipped'
			readonly dx: number
			readonly dy: number
			readonly flipped: boolean
		}

vector-flys avatar Sep 19 '24 17:09 vector-flys

It's a simple fix to change line 65 to

     readonly type: 'mouseWheel'

and I tested it locally, and will create a pull request from a fork (still learning about GitHub...)

vector-flys avatar Sep 19 '24 17:09 vector-flys

Thanks a lot for the PR! I'll include this in the next release.

kmamal avatar Jan 21 '25 14:01 kmamal