diff options
author | rjohnson <rjohnson> | 1998-07-27 17:20:34 (GMT) |
---|---|---|
committer | rjohnson <rjohnson> | 1998-07-27 17:20:34 (GMT) |
commit | 2b8f26c383b0c0cb88cc7929e482f18657606047 (patch) | |
tree | 901eb4410243afd38f2e582d98eeb4c57a631bdd | |
parent | 51fefcb087db39ad41670fc6b1f82dafa78deda1 (diff) | |
download | tk-2b8f26c383b0c0cb88cc7929e482f18657606047.zip tk-2b8f26c383b0c0cb88cc7929e482f18657606047.tar.gz tk-2b8f26c383b0c0cb88cc7929e482f18657606047.tar.bz2 |
fixed how bbox was calculated for coords
-rw-r--r-- | generic/tkCanvArc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tkCanvArc.c b/generic/tkCanvArc.c index 26b62e7..5ac7961 100644 --- a/generic/tkCanvArc.c +++ b/generic/tkCanvArc.c @@ -545,7 +545,7 @@ ComputeArcBbox(canvas, arcPtr) TkIncludePoint((Tk_Item *) arcPtr, arcPtr->center2); center[0] = (arcPtr->bbox[0] + arcPtr->bbox[2])/2; center[1] = (arcPtr->bbox[1] + arcPtr->bbox[3])/2; - if (arcPtr->style != arcUid) { + if (arcPtr->style == pieSliceUid) { TkIncludePoint((Tk_Item *) arcPtr, center); } |