fix the scroll event on the web renderer

This commit is contained in:
Evan Almloff committed 2023-11-02 21:00:43 -05:00
1 parent 51f342417a
commit 7590cf822d
1 file changed
+1 -1
+1 -1
View File
@@ -294,7 +294,7 @@ pub fn virtual_event_from_websys_event(event: web_sys::Event, target: Element) -
"select" => Rc::new(SelectionData {}),
"touchcancel" | "touchend" | "touchmove" | "touchstart" => Rc::new(TouchData::from(event)),
"scroll" => Rc::new(()),
"scroll" => Rc::new(ScrollData {}),
"wheel" => Rc::new(WheelData::from(event)),
"animationstart" | "animationend" | "animationiteration" => {
Rc::new(AnimationData::from(event))