Fix Documentation for ScaleFactorChanged in WindowEvent. (#3489)
This commit is contained in:
parent
6825fed073
commit
83012f4c1c
1 changed files with 2 additions and 3 deletions
|
|
@ -536,9 +536,8 @@ pub enum WindowEvent {
|
|||
/// * Changing the display's scale factor (e.g. in Control Panel on Windows).
|
||||
/// * 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
|
||||
/// is pointed to by the `new_inner_size` reference. By default, this will contain the size suggested
|
||||
/// by the OS, but it can be changed to any value.
|
||||
/// To update the window size, use the provided [`InnerSizeWriter`] handle. By default, the window is
|
||||
/// resized to the value suggested by the OS, but it can be changed to any value.
|
||||
///
|
||||
/// For more information about DPI in general, see the [`dpi`](crate::dpi) module.
|
||||
ScaleFactorChanged {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue