gitk: Eliminate diagonal arrows
commite341c06d8140b689001ddc183ec3476c1ede264a
authorPaul Mackerras <paulus@samba.org>
Sun, 12 Aug 2007 02:42:57 +0000 (12 12:42 +1000)
committerPaul Mackerras <paulus@samba.org>
Sun, 12 Aug 2007 02:42:57 +0000 (12 12:42 +1000)
tree9fef238d1e5e2f2dd0460e40f9716eeac89282af
parent513a54dc212044596d932dcc9468e0774c1ee2c1
gitk: Eliminate diagonal arrows

This changes the optimizer to insert pads to straighten downward
pointing arrows so they point straight down.  When drawing the parent
link to the first child in drawlineseg, this draws it with 3 segments
like other parent links if it is only one row high with an arrow.
These two things mean we can dispense with the workarounds for arrows
on diagonal segments.  This also fixes a couple of other minor bugs.

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