author | Paul Mackerras <paulus@samba.org> | |
Thu, 23 Aug 2007 12:24:38 +0000 (22:24 +1000) | ||
committer | Paul Mackerras <paulus@samba.org> | |
Thu, 23 Aug 2007 12:24:38 +0000 (22:24 +1000) | ||
commit | 97645683bff498e369c1c24ce10e78b51cdaf468 | |
tree | bb4427e4a0163f588fd15846250ba701391052b3 | tree | snapshot |
parent | b0cdca996a3717552ee30e8cc2bd157bb32fd213 | commit | diff |
gitk: Fix some problems with the display of ids as links
First, this fixes the problem where a SHA1 id wouldn't be displayed
as a link if it wasn't in the part of the graph that had been laid
out at the time the details pane was filled in, even if that commit
later became part of the graph. This arranges for us to turn the
SHA1 id into a link when we get to that id in laying out the graph.
Secondly, there was a problem where the cursor wouldn't always turn
to a hand when over a link, because the areas for two links could
overlap slightly. This fixes that by using a counter rather than
always reverting to a counter when we leave the region of a link
(which can happen just after we've entered a different link).
Signed-off-by: Paul Mackerras <paulus@samba.org>
First, this fixes the problem where a SHA1 id wouldn't be displayed
as a link if it wasn't in the part of the graph that had been laid
out at the time the details pane was filled in, even if that commit
later became part of the graph. This arranges for us to turn the
SHA1 id into a link when we get to that id in laying out the graph.
Secondly, there was a problem where the cursor wouldn't always turn
to a hand when over a link, because the areas for two links could
overlap slightly. This fixes that by using a counter rather than
always reverting to a counter when we leave the region of a link
(which can happen just after we've entered a different link).
Signed-off-by: Paul Mackerras <paulus@samba.org>
gitk | diff | blob | history |