1
0
Fork 0

Consome scrolling events

This sort of fixes using these in ScrollViews
This commit is contained in:
Robbert van der Helm 2022-11-08 21:41:29 +01:00
parent 316d9221df
commit e184e6d8a6
3 changed files with 6 additions and 0 deletions

View file

@ -104,6 +104,8 @@ impl View for ParamButton {
self.param_base.end_set_parameter(cx); self.param_base.end_set_parameter(cx);
} }
meta.consume();
} }
_ => {} _ => {}
}); });

View file

@ -585,6 +585,8 @@ impl View for ParamSlider {
self.param_base.end_set_parameter(cx); self.param_base.end_set_parameter(cx);
} }
} }
meta.consume();
} }
_ => {} _ => {}
}); });

View file

@ -80,6 +80,8 @@ impl<L: Lens<Target = Arc<AtomicBool>>> View for SafeModeButton<L> {
self.scrolled_lines += 1.0; self.scrolled_lines += 1.0;
} }
} }
meta.consume();
} }
_ => {} _ => {}
}); });