macOS: Resizable without decorations (#553)

* macOS: Resizable without decorations

* Fix style mask regressions
This commit is contained in:
Francesca Frangipane 2018-06-07 13:29:23 -04:00 committed by GitHub
parent 2cc8fa1eac
commit 8891cfd85e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 60 additions and 23 deletions

View file

@ -53,7 +53,7 @@ impl WindowBuilder {
///
/// ## Platform-specific
///
/// This only has an effect on Windows & X11.
/// This only has an effect on Windows, X11, and macOS.
#[inline]
pub fn with_resizable(mut self, resizable: bool) -> WindowBuilder {
self.window.resizable = resizable;