diff --git a/crates/egui/src/context.rs b/crates/egui/src/context.rs index 5ddadf78..224ce68f 100644 --- a/crates/egui/src/context.rs +++ b/crates/egui/src/context.rs @@ -1668,7 +1668,7 @@ impl Context { /// Global zoom factor of the UI. /// /// This is used to calculate the `pixels_per_point` - /// for the UI as `pixels_per_point = zoom_fator * native_pixels_per_point`. + /// for the UI as `pixels_per_point = zoom_factor * native_pixels_per_point`. /// /// The default is 1.0. /// Make larger to make everything larger. diff --git a/crates/egui/src/lib.rs b/crates/egui/src/lib.rs index 89e0ffab..b4571c88 100644 --- a/crates/egui/src/lib.rs +++ b/crates/egui/src/lib.rs @@ -270,7 +270,7 @@ //! //! ## Widget interaction //! Each widget has a [`Sense`], which defines whether or not the widget -//! is sensitive to clickicking and/or drags. +//! is sensitive to clicking and/or drags. //! //! For instance, a [`Button`] only has a [`Sense::click`] (by default). //! This means if you drag a button it will not respond with [`Response::dragged`].