mirror of
https://github.com/alacritty/alacritty.git
synced 2026-11-28 00:09:44 +03:00
Make scale_with_dpi config warning yellow
This commit is contained in:
1 parent
fac7936873
commit
2c588f0082
1 file changed
+5
-4
+5
-4
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user