mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
Ported from 2.4 branch:
Patch by Ori Avtalion to fix a minor display glitch in the RightArrow.
This commit is contained in:
parent
0f194234dc
commit
538561e466
2 changed files with 7 additions and 4 deletions
|
@ -151,9 +151,9 @@ class RightArrow(LeftArrow):
|
|||
return arrow, text
|
||||
|
||||
def _x(self):
|
||||
coords = self._canvas.bbox(self._TAG)
|
||||
coords = self._canvas.coords(self._TAG)
|
||||
assert coords
|
||||
return coords[2] - 6 # BAW: kludge
|
||||
return coords[0] + self._ARROWWIDTH
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue