Code

gitk: Improve appearance of first child links
authorPaul Mackerras <paulus@samba.org>
Sat, 18 Mar 2006 12:11:37 +0000 (23:11 +1100)
committerPaul Mackerras <paulus@samba.org>
Sat, 18 Mar 2006 12:11:37 +0000 (23:11 +1100)
commiteb447a126ce90fa1e8a4887d50fb04902167e57a
tree51d05958592d20d1f4176bd1d31ca45c34a5f72d
parentd8d2df08f6c5f804878bf9faf0820db87dbd68f5
gitk: Improve appearance of first child links

The point where the line for a parent joins to the first child
shown is visually different from the lines to the other children,
because the line doesn't branch, but terminates at the child.
Because of this, we now treat the first child a little differently
in the optimizer, and we draw its link in drawlineseg rather
than drawparentlinks.  This improves the appearance of the graph.

Signed-off-by: Paul Mackerras <paulus@samba.org>
gitk