author | Paul Mackerras <paulus@samba.org> | |
Wed, 1 Aug 2007 12:27:57 +0000 (22:27 +1000) | ||
committer | Paul Mackerras <paulus@samba.org> | |
Wed, 1 Aug 2007 12:27:57 +0000 (22:27 +1000) | ||
commit | 513a54dc212044596d932dcc9468e0774c1ee2c1 | |
tree | 3f9f6c0c25d61cc1ec49bab4027d3ef6051138b1 | tree | snapshot |
parent | 6e8c87070306a757c4d7fd2c55cca3a90fe140c7 | commit | diff |
gitk: Improve the drawing of links to parent lines
The way gitk used to draw the lines joining a commit to the lines
representing its parents was sometimes visually ambiguous, especially
when the line to the parent had a corner that coincided with a corner
on another line.
This improves things by using a smaller slanting section on the line
joining a commit to a parent line if the parent line is vertical where
it joins on. It also optimizes the drawing a little in the case where
the parent line slants towards this commit already.
Signed-off-by: Paul Mackerras <paulus@samba.org>
The way gitk used to draw the lines joining a commit to the lines
representing its parents was sometimes visually ambiguous, especially
when the line to the parent had a corner that coincided with a corner
on another line.
This improves things by using a smaller slanting section on the line
joining a commit to a parent line if the parent line is vertical where
it joins on. It also optimizes the drawing a little in the case where
the parent line slants towards this commit already.
Signed-off-by: Paul Mackerras <paulus@samba.org>
gitk | diff | blob | history |