fix: apply some clippy lints and rename the liveview methods to not intersect

This commit is contained in:
Jonathan Kelley committed 2022-06-20 02:24:39 -04:00
1 parent c3e573b7cb
commit 8be66bd34d
14 files changed
+58 -76

No files matched your search

+1 -1
View File
@@ -96,7 +96,7 @@ impl From<&MouseEvent> for MouseData {
ElementPoint::new(e.offset_x().into(), e.offset_y().into()),
PagePoint::new(e.page_x().into(), e.page_y().into()),
),
Some(MouseButton::from_web_code(e.button().into())),
Some(MouseButton::from_web_code(e.button())),
decode_mouse_button_set(e.buttons()),
modifiers,
)