1
0
mirror of https://github.com/emilk/egui.git synced 2026-06-27 15:13:12 -04:00
Files
egui/egui_demo_lib
Emil Ernerfeldt c2744a1437 Implement trackpad pinch-to-zoom for plots in egui_web (#333)
This adds a new `zoom_delta` to input.
This is hooked up to ctrl-scroll on egui_web and egui_glium.

Browsers convert trackpad pinch gestures to ctrl-scroll,
so this means you can not pinch-to-zoom plots (on trackpad).

In the future we can support multitouch pinch-to-zoom via the same
`InputState::zoom_factor()` function
2021-04-25 17:04:34 +02:00
..
2021-04-18 23:14:35 +02:00
2021-01-17 14:48:59 +01:00

egui demo library

this crate contains example code for egui.

it is in a separate crate for two reasons:

  • to ensure it only uses the public egui api.
  • to remove the amount of code in egui proper.