1
0
Fork 0

add comments to size

This commit is contained in:
Billy Messenger 2020-10-20 19:17:20 -05:00
parent 2096c37495
commit b2146908cc

View file

@ -14,7 +14,10 @@ pub enum WindowScalePolicy {
pub struct WindowOpenOptions {
pub title: String,
/// The logical size of the window
/// The logical size of the window.
///
/// These dimensions will be scaled by the scaling policy specified in `scale`. Mouse
/// coordinates will be translated back into logical coordinates.
pub size: Size,
/// The dpi scaling policy