Merge branch 'master' of git://git.ozlabs.org/~paulus/gitk

* 'master' of git://git.ozlabs.org/~paulus/gitk:
  gitk: include y coord in recorded sash position
  gitk: trivial indentation fix
This commit is contained in:
Junio C Hamano 2022-05-11 08:25:02 -07:00
commit ef9b086d95

View File

@ -2991,6 +2991,8 @@ proc resizeclistpanes {win w} {
} else { } else {
$win sash place 0 $sash0 [lindex $s0 1] $win sash place 0 $sash0 [lindex $s0 1]
$win sash place 1 $sash1 [lindex $s1 1] $win sash place 1 $sash1 [lindex $s1 1]
set sash0 [list $sash0 [lindex $s0 1]]
set sash1 [list $sash1 [lindex $s1 1]]
} }
set oldsash($win) [list $sash0 $sash1] set oldsash($win) [list $sash0 $sash1]
} }
@ -3023,6 +3025,7 @@ proc resizecdetpanes {win w} {
$win sashpos 0 $sash0 $win sashpos 0 $sash0
} else { } else {
$win sash place 0 $sash0 [lindex $s0 1] $win sash place 0 $sash0 [lindex $s0 1]
set sash0 [list $sash0 [lindex $s0 1]]
} }
set oldsash($win) $sash0 set oldsash($win) $sash0
} }