mirror of
https://github.com/italicsjenga/winit-sonoma-fix.git
synced 2024-12-23 22:01:31 +11:00
Remove resize_callback from WindowsAttributes
This commit is contained in:
parent
bcb242983b
commit
c3d2289b0c
|
@ -361,10 +361,6 @@ pub struct WindowAttributes {
|
||||||
/// [iOS only] Enable multitouch, see [UIView#multipleTouchEnabled]
|
/// [iOS only] Enable multitouch, see [UIView#multipleTouchEnabled]
|
||||||
/// (https://developer.apple.com/library/ios/documentation/UIKit/Reference/UIView_Class/#//apple_ref/occ/instp/UIView/multipleTouchEnabled)
|
/// (https://developer.apple.com/library/ios/documentation/UIKit/Reference/UIView_Class/#//apple_ref/occ/instp/UIView/multipleTouchEnabled)
|
||||||
pub multitouch: bool,
|
pub multitouch: bool,
|
||||||
|
|
||||||
/// A function called upon resizing, necessary to receive resize events on Mac and possibly
|
|
||||||
/// other systems.
|
|
||||||
pub resize_callback: Option<fn(u32, u32)>,
|
|
||||||
}
|
}
|
||||||
|
|
||||||
impl Default for WindowAttributes {
|
impl Default for WindowAttributes {
|
||||||
|
@ -380,7 +376,6 @@ impl Default for WindowAttributes {
|
||||||
transparent: false,
|
transparent: false,
|
||||||
decorations: true,
|
decorations: true,
|
||||||
multitouch: false,
|
multitouch: false,
|
||||||
resize_callback: None,
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue