1
0
Fork 0
mirror of https://github.com/alacritty/alacritty.git synced 2024-11-11 13:51:01 -05:00

Increase font size in CSDs on Wayland

Winit changed the default font size for CSDs from 17pt to 11pt, this
patch reverts that since it is too small to be readable.
This commit is contained in:
Kirill Chibisov 2020-11-22 04:20:04 +03:00 committed by GitHub
parent 768f9e2285
commit da6f0a505e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -67,6 +67,10 @@ impl WaylandTheme for AlacrittyWaylandTheme {
(_, Button::Close) => self.hovered_close_icon,
}
}
fn font(&self) -> Option<(String, f32)> {
Some((String::from("sans-serif"), 17.))
}
}
trait IntoARGBColor {