diff --git a/crates/egui/src/ui.rs b/crates/egui/src/ui.rs index 064a937ab0f6..0f11511ba0db 100644 --- a/crates/egui/src/ui.rs +++ b/crates/egui/src/ui.rs @@ -2692,7 +2692,7 @@ impl Ui { /// /// Check out [`Context::set_transform_layer`] for a persistent transform that also affects /// inputs. - pub fn with_transform( + pub fn with_visual_transform( &mut self, transform: emath::TSTransform, add_contents: impl FnOnce(&mut Self) -> R,