Review pass 3
This commit is contained in:
@@ -34,6 +34,11 @@ pub enum WindowLifecycle {
|
||||
|
||||
#[derive(Clone, Copy, Debug, PartialEq)]
|
||||
pub struct WindowConfigured {
|
||||
/// Current logical content size and platform presentation scale.
|
||||
///
|
||||
/// Backends should emit a new configuration when either the logical size or
|
||||
/// scale changes. This lets hosts relayout for size changes while renderers
|
||||
/// can update drawable/text scale when a window moves between displays.
|
||||
pub actual_inner_size: UiSize,
|
||||
pub scale_factor: f32,
|
||||
pub visible: bool,
|
||||
|
||||
Reference in New Issue
Block a user