diff options
author | culler <culler> | 2019-06-28 22:41:48 (GMT) |
---|---|---|
committer | culler <culler> | 2019-06-28 22:41:48 (GMT) |
commit | 4615f020a57405c8485b67cb178674faac4de7d7 (patch) | |
tree | bc121fe6f22c7820661f34c296a48ca39768be41 /macosx/tkMacOSXScrlbr.c | |
parent | 26cd390c97c1fce54db1123b1c35fd381ac721bf (diff) | |
download | tk-4615f020a57405c8485b67cb178674faac4de7d7.zip tk-4615f020a57405c8485b67cb178674faac4de7d7.tar.gz tk-4615f020a57405c8485b67cb178674faac4de7d7.tar.bz2 |
Tiny adjustment.
Diffstat (limited to 'macosx/tkMacOSXScrlbr.c')
-rw-r--r-- | macosx/tkMacOSXScrlbr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/macosx/tkMacOSXScrlbr.c b/macosx/tkMacOSXScrlbr.c index 1928886..06fb2b7 100644 --- a/macosx/tkMacOSXScrlbr.c +++ b/macosx/tkMacOSXScrlbr.c @@ -181,7 +181,7 @@ static void drawMacScrollbar( if (scrollPtr->vertical) { thumbBounds.origin.x = troughBounds.origin.x + MIN_GAP; thumbBounds.origin.y = troughBounds.origin.y + scrollPtr->sliderFirst; - thumbBounds.size.width = troughBounds.size.width - 2*MIN_GAP; + thumbBounds.size.width = troughBounds.size.width - 2*MIN_GAP + 1; thumbBounds.size.height = scrollPtr->sliderLast - scrollPtr->sliderFirst; inner[0] = troughBounds.origin; inner[1] = CGPointMake(inner[0].x, inner[0].y + troughBounds.size.height); |