diff options
Diffstat (limited to 'tkblt')
-rw-r--r-- | tkblt/generic/tkbltGrElemBar.C | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/tkblt/generic/tkbltGrElemBar.C b/tkblt/generic/tkbltGrElemBar.C index 8e5ad46..c3ed9a7 100644 --- a/tkblt/generic/tkbltGrElemBar.C +++ b/tkblt/generic/tkbltGrElemBar.C @@ -436,10 +436,6 @@ void BarElement::map() rp->x = (int)MIN(c1.x, c2.x); - // rp->width = width + 1; - // rp->width |= 0x1; - // if (rp->width < 1) - // rp->width = 1; rp->width = width; if (rp->width & 0x1) rp->width++; @@ -506,7 +502,6 @@ void BarElement::extents(Region2d *regPtr) double barWidth = (ops->barWidth > 0.0) ? ops->barWidth : gops->barWidth; double middle = barWidth/2.; - // double middle = 0.5; regPtr->left = ops->coords.x->min() - middle; regPtr->right = ops->coords.x->max() + middle; |