1
0
mirror of https://github.com/emilk/egui.git synced 2026-06-28 07:23:13 -04:00
Files
egui/crates
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
..
2023-04-18 15:52:45 +02:00
2023-04-18 15:52:45 +02:00
2023-04-18 15:52:45 +02:00
2023-04-18 15:52:45 +02:00
2023-04-18 15:52:45 +02:00
2023-04-18 15:52:45 +02:00
2023-04-18 15:52:45 +02:00
2023-04-18 15:52:45 +02:00
2023-04-18 16:10:20 +02:00