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 14, 2018
1 parent d15b4b8 commit 7b69540
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 @@ -929,7 +929,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 7b69540

Please sign in to comment.