Function egui::gui_zoom::zoom_with_keyboard
source ยท pub(crate) fn zoom_with_keyboard(ctx: &Context)
Expand description
Let the user scale the GUI (change Context::zoom_factor
) by pressing
Cmd+Plus, Cmd+Minus or Cmd+0, just like in a browser.
By default, crate::Context
calls this function at the end of each frame,
controllable by crate::Options::zoom_with_keyboard
.