Closed Takyo closed 3 years ago
New mouse-wheel-scrolling feature added.
See demos:
Default behavior is no mouse-wheel-scrolling.
Please download latest minify file of rexUI.
I tried to use example as is and have an error.
TS2345: Argument of type '{ x: number; y: number; width: number; height: number; background: RoundRectangle; text: BBCodeText; slider: { track: RoundRectangle; thumb: RoundRectangle; }; scroller: { ...; }; mouseWheelScroller: { ...; }; header: Label; footer: Label; }' is not assignable to parameter of type 'IConfig'. Object literal may only specify known properties, and 'mouseWheelScroller' does not exist in type 'IConfig'.
typescript npm 7.18.1 node 16.4.1 "phaser": "^3.55.2", "phaser3-rex-plugins": "^1.1.57"
I tried to compile as any type. In this case error has gone but mouse wheel not working. Is 1.1.57 version is latest?
Thanks!
MouseWheelScroll feature is in NPM package 1.1.58, upgraded 2 hr before.
Wow! Extremely fast fix&answer! It works! Like! I mean star )
Issue closed
How it should be done to make the mouse wheel work on scroll grid?