Fix some typos (#3459)

* Fix typo

* Change from what to was

It doesn't say WHAT changed only that there WAS a change
This commit is contained in:
One 2023-11-10 05:12:52 -05:00 committed by GitHub
parent 41f9df5cb3
commit e9f92fee4c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -78,7 +78,7 @@ pub struct Response {
#[doc(hidden)]
pub interact_pointer_pos: Option<Pos2>,
/// What the underlying data changed?
/// Was the underlying data changed?
///
/// e.g. the slider was dragged, text was entered in a [`TextEdit`](crate::TextEdit) etc.
/// Always `false` for something like a [`Button`](crate::Button).
@ -339,7 +339,7 @@ impl Response {
self.is_pointer_button_down_on
}
/// What the underlying data changed?
/// Was the underlying data changed?
///
/// e.g. the slider was dragged, text was entered in a [`TextEdit`](crate::TextEdit) etc.
/// Always `false` for something like a [`Button`](crate::Button).

View File

@ -1405,7 +1405,7 @@ impl PlotUi {
Vec2::new(delta.x / dp_dv[0] as f32, delta.y / dp_dv[1] as f32)
}
/// Read the transform netween plot coordinates and screen coordinates.
/// Read the transform between plot coordinates and screen coordinates.
pub fn transform(&self) -> &PlotTransform {
&self.last_plot_transform
}