Fix typo in docs

Closes https://github.com/emilk/egui/issues/3003
This commit is contained in:
Emil Ernerfeldt 2023-05-23 08:37:11 +02:00
parent 68a4239036
commit 9d5b324787
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@ pub struct RawInput {
/// Position and size of the area that egui should use, in points.
/// Usually you would set this to
///
/// `Some(Rect::from_pos_size(Default::default(), screen_size_in_points))`.
/// `Some(Rect::from_min_size(Default::default(), screen_size_in_points))`.
///
/// but you could also constrain egui to some smaller portion of your window if you like.
///