mirror of
https://github.com/emilk/egui.git
synced 2026-08-29 04:40:03 -04:00
Plot boxed zoom with secondary mouse button (#1188)
This commit is contained in:
@@ -753,6 +753,7 @@ impl super::View for PlotDemo {
|
||||
egui::reset_button(ui, self);
|
||||
ui.collapsing("Instructions", |ui| {
|
||||
ui.label("Pan by dragging, or scroll (+ shift = horizontal).");
|
||||
ui.label("Box zooming: Right click to zoom in and zoom out using a selection.");
|
||||
if cfg!(target_arch = "wasm32") {
|
||||
ui.label("Zoom with ctrl / ⌘ + pointer wheel, or with pinch gesture.");
|
||||
} else if cfg!(target_os = "macos") {
|
||||
|
||||
Reference in New Issue
Block a user