Improve highlight-arrow pointing and fix its erasure
authorH.G.Muller <hgm@hgm-xboard.(none)>
Tue, 8 Mar 2016 18:14:05 +0000 (19:14 +0100)
committerH.G.Muller <hgm@hgm-xboard.(none)>
Tue, 8 Mar 2016 18:29:58 +0000 (19:29 +0100)
commit5a2769586e4f83ba2af6e5a0b56bd0627d0208b9
treefb030855028a5e0f3a114536911a2cc8dbbe0d84
parent7d99a4a8766a9399180bfa6c5292e16fac70d4e4
Improve highlight-arrow pointing and fix its erasure

The code to calculate whether the arrow shoud endnear an edge or corner
of the to-square was buggy, leading to orientation-dependent decisions.
In addition the damage trace wasnot exactly following the arrow, so that
sometimes parts of the arrow were not displayed or erased.
board.c