Merge pull request #1602 from ealmloff/fix-scroll-web
This commit is contained in:
1 file changed
+1
-1
@@ -294,7 +294,7 @@ pub fn virtual_event_from_websys_event(event: web_sys::Event, target: Element) -
|
|||||||
"select" => Rc::new(SelectionData {}),
|
"select" => Rc::new(SelectionData {}),
|
||||||
"touchcancel" | "touchend" | "touchmove" | "touchstart" => Rc::new(TouchData::from(event)),
|
"touchcancel" | "touchend" | "touchmove" | "touchstart" => Rc::new(TouchData::from(event)),
|
||||||
|
|
||||||
"scroll" => Rc::new(()),
|
"scroll" => Rc::new(ScrollData {}),
|
||||||
"wheel" => Rc::new(WheelData::from(event)),
|
"wheel" => Rc::new(WheelData::from(event)),
|
||||||
"animationstart" | "animationend" | "animationiteration" => {
|
"animationstart" | "animationend" | "animationiteration" => {
|
||||||
Rc::new(AnimationData::from(event))
|
Rc::new(AnimationData::from(event))
|
||||||
|
|||||||
Reference in new issue
Block a user