mirror of
https://github.com/wez/wezterm.git
synced 2024-10-26 23:58:28 +03:00
fix: disproportionate cursor
This commit is contained in:
parent
7f3a835548
commit
0839745aaf
@ -262,7 +262,7 @@ impl PolyStyle {
|
||||
let mut stroke = Stroke::default();
|
||||
stroke.width = width;
|
||||
if self == PolyStyle::OutlineHeavy {
|
||||
stroke.width *= 3.1; // NOTE: Changing this makes block cursor unproportinal at different font sizes
|
||||
stroke.width *= 3.01; // NOTE: Changing this makes block cursor disproportionate at different font sizes and resolutions
|
||||
} else if self == PolyStyle::OutlineThin {
|
||||
stroke.width = 1.2;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user