fmt
This commit is contained in:
parent
e59d10d23a
commit
d078f3a470
3 changed files with 41 additions and 32 deletions
|
@ -89,7 +89,8 @@ impl PixiCanvas {
|
|||
}))
|
||||
.update_raw_el(|raw_el| {
|
||||
// @TODO rewrite to a native Zoon API
|
||||
raw_el.event_handler_with_options(EventOptions::new().preventable(),
|
||||
raw_el.event_handler_with_options(
|
||||
EventOptions::new().preventable(),
|
||||
clone!((controller) move |event: events_extra::WheelEvent| {
|
||||
event.prevent_default();
|
||||
if let Some(controller) = controller.lock_ref().as_ref() {
|
||||
|
|
Reference in a new issue