Skip to content

Commit

Permalink
Fix then than typo
Browse files Browse the repository at this point in the history
  • Loading branch information
tosti007 committed Dec 5, 2023
1 parent a4e3894 commit f6e2304
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions crates/egui/src/viewport.rs
Original file line number Diff line number Diff line change
Expand Up @@ -439,7 +439,7 @@ impl ViewportBuilder {
///
/// If this is not set, some platform-specific dimensions will be used.
///
/// Should be bigger then 0
/// Should be bigger than 0
/// Look at winit for more details
#[inline]
pub fn with_inner_size(mut self, size: impl Into<Vec2>) -> Self {
Expand All @@ -452,7 +452,7 @@ impl ViewportBuilder {
/// If this is not set, the window will have no minimum dimensions (aside
/// from reserved).
///
/// Should be bigger then 0
/// Should be bigger than 0
/// Look at winit for more details
#[inline]
pub fn with_min_inner_size(mut self, size: impl Into<Vec2>) -> Self {
Expand All @@ -465,7 +465,7 @@ impl ViewportBuilder {
/// If this is not set, the window will have no maximum or will be set to
/// the primary monitor's dimensions by the platform.
///
/// Should be bigger then 0
/// Should be bigger than 0
/// Look at winit for more details
#[inline]
pub fn with_max_inner_size(mut self, size: impl Into<Vec2>) -> Self {
Expand Down Expand Up @@ -854,16 +854,16 @@ pub enum ViewportCommand {
/// Set the outer position of the viewport, i.e. moves the window.
OuterPosition(Pos2),

/// Should be bigger then 0
/// Should be bigger than 0
InnerSize(Vec2),

/// Should be bigger then 0
/// Should be bigger than 0
MinInnerSize(Vec2),

/// Should be bigger then 0
/// Should be bigger than 0
MaxInnerSize(Vec2),

/// Should be bigger then 0
/// Should be bigger than 0
ResizeIncrements(Option<Vec2>),

/// Begin resizing the viewport with the left mouse button until the button is released.
Expand Down

0 comments on commit f6e2304

Please sign in to comment.