Merge pull request #3001 from csmoe/window-event-scale-change
feat: add window::Event::ScaleFactorChanged
This commit is contained in:
commit
625fc76f19
2 changed files with 6 additions and 0 deletions
|
|
@ -28,6 +28,9 @@ pub enum Event {
|
|||
/// A window was resized.
|
||||
Resized(Size),
|
||||
|
||||
/// A window changed its scale factor.
|
||||
Rescaled(f32),
|
||||
|
||||
/// A window redraw was requested.
|
||||
///
|
||||
/// The [`Instant`] contains the current time.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue