egui/crates/egui_demo_lib
Jackson Kruger 438f6eafc8
Plot widget - allow disabling zoom and drag for x and y separately (#2901)
* Set whether zooming allowed for x and y separately

* Set whether dragging allowed for x and y separately

* Add disclaimers about interaction with data_aspect

* Show zoom & drag behavior in plot demo/charts instead of context menu demo

* Code review suggestions - use AxisBools::any()

Co-authored-by: Emil Ernerfeldt <emil.ernerfeldt@gmail.com>

* Simplify allow_drag and allow_zoom APIs to take in Into<AxisBools>

* Remove unnecessary using...

* Remove unrelated change

---------

Co-authored-by: Emil Ernerfeldt <emil.ernerfeldt@gmail.com>
2023-04-18 19:58:19 +02:00
..
benches Avoid deadlocks by using lambdas for context lock (#2625) 2023-01-25 10:24:23 +01:00
src Plot widget - allow disabling zoom and drag for x and y separately (#2901) 2023-04-18 19:58:19 +02:00
Cargo.toml Release 0.21.0 - Deadlock fix and winit update 2023-02-08 20:11:21 +01:00
README.md Move all crates into a `crates` directory (#1940) 2022-08-20 10:41:49 +02:00

README.md

egui demo library

Latest version Documentation unsafe forbidden MIT Apache

This crate contains example code for egui.

The demo library is a separate crate for three reasons: