Skip to content

Commit 59ddaf3

Browse files
mark987paulusmack
authored andcommitted
[PATCH] gitk: Update fontsize in patch / tree list
When adjusting fontsize (using ctrl+/-), all panes except the lower right were updated. This fixes that. Signed-off-by: Mark Levedahl <[email protected]> Signed-off-by: Paul Mackerras <[email protected]>
1 parent 60378c0 commit 59ddaf3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

gitk

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4695,13 +4695,14 @@ proc redisplay {} {
46954695
}
46964696

46974697
proc incrfont {inc} {
4698-
global mainfont textfont ctext canv phase
4698+
global mainfont textfont ctext canv phase cflist
46994699
global stopped entries
47004700
unmarkmatches
47014701
set mainfont [lreplace $mainfont 1 1 [expr {[lindex $mainfont 1] + $inc}]]
47024702
set textfont [lreplace $textfont 1 1 [expr {[lindex $textfont 1] + $inc}]]
47034703
setcoords
47044704
$ctext conf -font $textfont
4705+
$cflist conf -font $textfont
47054706
$ctext tag conf filesep -font [concat $textfont bold]
47064707
foreach e $entries {
47074708
$e conf -font $mainfont

0 commit comments

Comments
 (0)