1
0
Fork 0

fix window_info_from_scale

This commit is contained in:
Billy Messenger 2020-10-17 15:42:16 -05:00
parent 3fca9d3c78
commit 5866bf372e

View file

@ -67,7 +67,7 @@ impl WindowOpenOptions {
WindowInfo::from_logical_size(initial_size, scale)
},
WindowSize::MinMaxPhysical { initial_size, .. } => {
WindowInfo::from_logical_size(initial_size, scale)
WindowInfo::from_physical_size(initial_size, scale)
}
}
}