Skip to content

Commit

Permalink
Make fields inside WindowSize pub
Browse files Browse the repository at this point in the history
  • Loading branch information
BeastLe9enD committed Jan 20, 2024
1 parent 6f844f0 commit 4ad46e8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -555,9 +555,9 @@ impl EguiUserTextures {
#[derive(Component, Debug, Default, Clone, Copy, PartialEq)]
#[cfg_attr(feature = "render", derive(ExtractComponent))]
pub struct WindowSize {
physical_width: f32,
physical_height: f32,
scale_factor: f32,
pub physical_width: f32,
pub physical_height: f32,
pub scale_factor: f32,
}

impl WindowSize {
Expand Down

0 comments on commit 4ad46e8

Please sign in to comment.