diff --git a/crates/egui_demo_lib/src/demo/pan_zoom.rs b/crates/egui_demo_lib/src/demo/pan_zoom.rs index f8f4515dffd..6367946faef 100644 --- a/crates/egui_demo_lib/src/demo/pan_zoom.rs +++ b/crates/egui_demo_lib/src/demo/pan_zoom.rs @@ -114,6 +114,7 @@ impl crate::View for PanZoom { let id = egui::Area::new(id.with(("subarea", i))) .default_pos(pos) .order(egui::Order::Middle) + .constrain(false) .show(ui.ctx(), |ui| { ui.set_clip_rect(transform.inverse() * rect); egui::Frame::default()