mirror of
https://github.com/l0ng-ai/tty7.git
synced 2026-09-22 00:02:23 +00:00
style(terminal): increase powerline half-circle segments for smoother curves (#341)
Co-authored-by: l0ng-ai <ysdpk123@gmail.com>
This commit is contained in:
@@ -688,7 +688,7 @@ fn powerline_path(bounds: Bounds<Pixels>, shape: PowerlineShape) -> gpui::Path<P
|
||||
p
|
||||
};
|
||||
let half_circle = |anchor_x: Pixels, dir: f32| {
|
||||
const SEGS: usize = 6;
|
||||
const SEGS: usize = 12;
|
||||
|
||||
let (rx, ry) = (bounds.size.width.as_f32(), bounds.size.height.as_f32() / 2.);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user