Make scale_with_dpi config warning yellow

This commit is contained in:
Matt Keeler committed 2018-08-08 07:41:15 -04:00
1 parent fac7936873
commit 2c588f0082
1 file changed
+5 -4
+5 -4
View File
@@ -1595,10 +1595,11 @@ fn deserialize_scale_with_dpi<'a, D>(deserializer: D) -> ::std::result::Result<O
{
// This is necessary in order to get serde to complete deserialization of the configuration
let _ignored = bool::deserialize(deserializer);
eprintln!(
"The `scale_with_dpi` setting has been removed, \
on X11 the WINIT_HIDPI_FACTOR environment variable can be used instead.");
Ok(None)
eprintln!("{}",
Yellow("The `scale_with_dpi` setting has been removed, \
on X11 the WINIT_HIDPI_FACTOR environment variable can be used instead."));
Ok(None)
}
fn default_bold_desc() -> FontDescription {