mirror of
https://github.com/rust-windowing/winit.git
synced 2026-09-01 22:30:04 -04:00
Fix Documentation for ScaleFactorChanged in WindowEvent. (#3489)
This commit is contained in:
@@ -536,9 +536,8 @@ pub enum WindowEvent {
|
|||||||
/// * Changing the display's scale factor (e.g. in Control Panel on Windows).
|
/// * Changing the display's scale factor (e.g. in Control Panel on Windows).
|
||||||
/// * Moving the window to a display with a different scale factor.
|
/// * Moving the window to a display with a different scale factor.
|
||||||
///
|
///
|
||||||
/// After this event callback has been processed, the window will be resized to whatever value
|
/// To update the window size, use the provided [`InnerSizeWriter`] handle. By default, the window is
|
||||||
/// is pointed to by the `new_inner_size` reference. By default, this will contain the size suggested
|
/// resized to the value suggested by the OS, but it can be changed to any value.
|
||||||
/// by the OS, but it can be changed to any value.
|
|
||||||
///
|
///
|
||||||
/// For more information about DPI in general, see the [`dpi`](crate::dpi) module.
|
/// For more information about DPI in general, see the [`dpi`](crate::dpi) module.
|
||||||
ScaleFactorChanged {
|
ScaleFactorChanged {
|
||||||
|
|||||||
Reference in New Issue
Block a user