mirror of
https://github.com/rust-windowing/winit.git
synced 2026-08-30 13:20:06 -04:00
Update window.rs (#1871)
This commit is contained in:
@@ -526,7 +526,7 @@ impl Window {
|
|||||||
///
|
///
|
||||||
/// ## Platform-specific
|
/// ## Platform-specific
|
||||||
///
|
///
|
||||||
/// - **iOS / Andraid / Web:** Unsupported.
|
/// - **iOS / Android / Web:** Unsupported.
|
||||||
#[inline]
|
#[inline]
|
||||||
pub fn set_max_inner_size<S: Into<Size>>(&self, max_size: Option<S>) {
|
pub fn set_max_inner_size<S: Into<Size>>(&self, max_size: Option<S>) {
|
||||||
self.window.set_max_inner_size(max_size.map(|s| s.into()))
|
self.window.set_max_inner_size(max_size.map(|s| s.into()))
|
||||||
|
|||||||
Reference in New Issue
Block a user