Skip to content

Commit

Permalink
Rename to with_visual_transform
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasmerlin committed Sep 2, 2024
1 parent 467f7ab commit f52296f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/egui/src/ui.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2692,7 +2692,7 @@ impl Ui {
///
/// Check out [`Context::set_transform_layer`] for a persistent transform that also affects
/// inputs.
pub fn with_transform<R>(
pub fn with_visual_transform<R>(
&mut self,
transform: emath::TSTransform,
add_contents: impl FnOnce(&mut Self) -> R,
Expand Down

0 comments on commit f52296f

Please sign in to comment.