MCPcopy Create free account
hub / github.com/emilk/egui_plot / allow_scroll

Method allow_scroll

egui_plot/src/plot.rs:318–324  ·  view source on GitHub ↗
(mut self, on: T)

Source from the content-addressed store, hash-verified

316 /// Whether to allow scrolling in the plot. Default: `true`.
317 #[inline]
318 pub fn allow_scroll<T>(mut self, on: T) -> Self
319 where
320 T: Into<Vec2b>,
321 {
322 self.allow_scroll = on.into();
323 self
324 }
325
326 /// Whether to allow double clicking to reset the view.
327 /// Default: `true`.

Callers 4

show_plotMethod · 0.80
show_plotMethod · 0.80
show_plotMethod · 0.80
show_plotMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected