Skip to content

Commit

Permalink
macOS: Fix min dimensions
Browse files Browse the repository at this point in the history
  • Loading branch information
francesca64 committed Jun 5, 2018
1 parent dfe40b6 commit 00fdefd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/platform/macos/window.rs
Original file line number Diff line number Diff line change
Expand Up @@ -910,7 +910,7 @@ impl Window2 {

pub fn set_min_dimensions(&self, dimensions: Option<LogicalSize>) {
unsafe {
let dimensions = dimensions.unwrap_or_else(|| (!0, !0).into());
let dimensions = dimensions.unwrap_or_else(|| (0, 0).into());
nswindow_set_min_dimensions(self.window.0, dimensions);
}
}
Expand Down

0 comments on commit 00fdefd

Please sign in to comment.