Change opts to work in screen pixels that are scaled to device pixels.

This commit is contained in:
Glenn Watson 2014-09-24 07:39:37 +10:00
parent c2522ec127
commit ff4713c434
2 changed files with 9 additions and 2 deletions

View file

@ -89,7 +89,7 @@ pub struct Opts {
pub devtools_server: bool,
/// The initial requested size of the window.
pub initial_window_size: TypedSize2D<DevicePixel, uint>,
pub initial_window_size: TypedSize2D<ScreenPx, uint>,
}
fn print_usage(app: &str, opts: &[getopts::OptGroup]) {