Fix misc typos

Closes https://github.com/emilk/egui/pull/366
Closes https://github.com/emilk/egui/pull/365
This commit is contained in:
Emil Ernerfeldt 2021-05-10 10:52:49 +02:00
parent 7747a1f171
commit cf3d12669c
3 changed files with 4 additions and 4 deletions

View file

@ -2,7 +2,7 @@
All notable changes to the egui crate will be documented in this file. All notable changes to the egui crate will be documented in this file.
NOTE: [`eframe`](eframe/CHANGELOG.md), [`egui_web`](egui_web/CHANGELOG.md) and [`egui_glium`](egui_glium/CHANGELOG.md) has their own changelogs! NOTE: [`eframe`](eframe/CHANGELOG.md), [`egui_web`](egui_web/CHANGELOG.md) and [`egui_glium`](egui_glium/CHANGELOG.md) have their own changelogs!
## Unreleased ## Unreleased
@ -20,7 +20,7 @@ NOTE: [`eframe`](eframe/CHANGELOG.md), [`egui_web`](egui_web/CHANGELOG.md) and [
* Support for raw [multi touch](https://github.com/emilk/egui/pull/306) events, * Support for raw [multi touch](https://github.com/emilk/egui/pull/306) events,
enabling zoom, rotate, and more. Works with `egui_web` on mobile devices, enabling zoom, rotate, and more. Works with `egui_web` on mobile devices,
and should work with `egui_glium` for certain touch devices/screens. and should work with `egui_glium` for certain touch devices/screens.
* Add (optional) compatability with [mint](https://docs.rs/mint). * Add (optional) compatibility with [mint](https://docs.rs/mint).
### Changed 🔧 ### Changed 🔧
* Make `Memory::has_focus` public (again). * Make `Memory::has_focus` public (again).

View file

@ -431,7 +431,7 @@ fn paint_resize_corner(
#[derive(Clone, Copy, Debug)] #[derive(Clone, Copy, Debug)]
struct PossibleInteractions { struct PossibleInteractions {
movable: bool, movable: bool,
// Which sized can we drag to resize? // Which sides can we drag to resize?
resize_left: bool, resize_left: bool,
resize_right: bool, resize_right: bool,
resize_top: bool, resize_top: bool,

View file

@ -231,7 +231,7 @@
//! //!
//! // A `scope` creates a temporary [`Ui`] in which you can change settings: //! // A `scope` creates a temporary [`Ui`] in which you can change settings:
//! ui.scope(|ui|{ //! ui.scope(|ui|{
//! // Change test color on subsequent widgets: //! // Change text color on subsequent widgets:
//! ui.visuals_mut().override_text_color = Some(egui::Color32::RED); //! ui.visuals_mut().override_text_color = Some(egui::Color32::RED);
//! //!
//! // Turn off text wrapping on subsequent widgets: //! // Turn off text wrapping on subsequent widgets: