mirror of
https://github.com/wez/wezterm.git
synced 2024-11-27 02:25:28 +03:00
fix: Proper block cursor shape (#4752)
* fix: Proper block cursor shape * change stroke.width multiplier
This commit is contained in:
parent
1d4a407df9
commit
e05179e4fb
@ -262,7 +262,7 @@ impl PolyStyle {
|
||||
let mut stroke = Stroke::default();
|
||||
stroke.width = width;
|
||||
if self == PolyStyle::OutlineHeavy {
|
||||
stroke.width *= 3.0; // NOTE: Using 2.0, the difference is almost invisible
|
||||
stroke.width *= 3.1; // NOTE: Changing this makes block cursor unproportinal at different font sizes
|
||||
} else if self == PolyStyle::OutlineThin {
|
||||
stroke.width = 1.2;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user