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:
parent
41f9df5cb3
commit
e9f92fee4c
|
|
@ -78,7 +78,7 @@ pub struct Response {
|
||||||
#[doc(hidden)]
|
#[doc(hidden)]
|
||||||
pub interact_pointer_pos: Option<Pos2>,
|
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.
|
/// e.g. the slider was dragged, text was entered in a [`TextEdit`](crate::TextEdit) etc.
|
||||||
/// Always `false` for something like a [`Button`](crate::Button).
|
/// Always `false` for something like a [`Button`](crate::Button).
|
||||||
|
|
@ -339,7 +339,7 @@ impl Response {
|
||||||
self.is_pointer_button_down_on
|
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.
|
/// e.g. the slider was dragged, text was entered in a [`TextEdit`](crate::TextEdit) etc.
|
||||||
/// Always `false` for something like a [`Button`](crate::Button).
|
/// Always `false` for something like a [`Button`](crate::Button).
|
||||||
|
|
|
||||||
|
|
@ -1405,7 +1405,7 @@ impl PlotUi {
|
||||||
Vec2::new(delta.x / dp_dv[0] as f32, delta.y / dp_dv[1] as f32)
|
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 {
|
pub fn transform(&self) -> &PlotTransform {
|
||||||
&self.last_plot_transform
|
&self.last_plot_transform
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue