@@ -468,7 +468,7 @@ def vsplit_frame(self):
468
468
def setup_and_draw_zones (
469
469
self ,
470
470
first_column_name = "Untracked files" ,
471
- second_column_name = "Working directory modifications " ,
471
+ second_column_name = "Working directory mods " ,
472
472
third_column_name = "Staging area" ,
473
473
reverse = False ,
474
474
):
@@ -507,7 +507,7 @@ def setup_and_draw_zones(
507
507
(self .camera .frame .get_left ()[0 ], horizontal .get_start ()[1 ], 0 ),
508
508
dash_length = 0.2 ,
509
509
color = self .fontColor ,
510
- ).shift (m .RIGHT * 6.5 )
510
+ ).shift (m .RIGHT * 8 )
511
511
vert2 = m .DashedLine (
512
512
(
513
513
self .camera .frame .get_right ()[0 ],
@@ -517,7 +517,7 @@ def setup_and_draw_zones(
517
517
(self .camera .frame .get_right ()[0 ], horizontal .get_start ()[1 ], 0 ),
518
518
dash_length = 0.2 ,
519
519
color = self .fontColor ,
520
- ).shift (m .LEFT * 6.5 )
520
+ ).shift (m .LEFT * 8 )
521
521
522
522
if reverse :
523
523
first_column_name = "Staging area"
@@ -530,8 +530,7 @@ def setup_and_draw_zones(
530
530
font_size = 28 ,
531
531
color = self .fontColor ,
532
532
)
533
- .align_to (self .camera .frame , m .LEFT )
534
- .shift (m .RIGHT * 0.65 )
533
+ .move_to ((vert1 .get_center ()[0 ] - 4 , 0 , 0 ))
535
534
.shift (m .UP * self .zone_title_offset )
536
535
)
537
536
secondColumnTitle = (
@@ -551,8 +550,7 @@ def setup_and_draw_zones(
551
550
font_size = 28 ,
552
551
color = self .fontColor ,
553
552
)
554
- .align_to (self .camera .frame , m .RIGHT )
555
- .shift (m .LEFT * 1.65 )
553
+ .move_to ((vert2 .get_center ()[0 ] + 4 , 0 , 0 ))
556
554
.align_to (firstColumnTitle , m .UP )
557
555
)
558
556
@@ -926,7 +924,7 @@ def draw_dark_ref(self):
926
924
self .prevRef = refRec
927
925
928
926
def trim_path (self , path ):
929
- return (path [:5 ] + "..." + path [- 15 :]) if len (path ) > 20 else path
927
+ return (path [:15 ] + "..." + path [- 15 :]) if len (path ) > 30 else path
930
928
931
929
def get_remote_tracking_branches (self ):
932
930
remote_refs = [remote .refs for remote in self .repo .remotes ]
0 commit comments