Skip to content

Commit

Permalink
Fix docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
emilk committed Sep 13, 2023
1 parent a69092b commit 682d405
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/egui/src/widgets/image.rs
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@ pub struct ImageSize {

/// Determines the maximum size of the image.
///
/// Defaults to `None`
/// Defaults to `Vec2::INFINITY` (no limit).
pub max_size: Vec2,

/// Determines how the image should shrink/expand/stretch/etc. to fit within its allocated space.
Expand Down

0 comments on commit 682d405

Please sign in to comment.