summaryrefslogtreecommitdiffstats
path: root/macosx/tkMacOSXScrlbr.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2019-07-31 11:00:20 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2019-07-31 11:00:20 (GMT)
commit28822e5191d3003f1d8fea59eeb79a0c14cf066d (patch)
tree99bc25b39b1860eafa0d8d150260e01f8c622496 /macosx/tkMacOSXScrlbr.c
parentd1cee4ca466f149ff990f8bea8eaa7a50694e901 (diff)
parent2cd1f9a29e32479bbf154940297dcafdb43dc3de (diff)
downloadtk-28822e5191d3003f1d8fea59eeb79a0c14cf066d.zip
tk-28822e5191d3003f1d8fea59eeb79a0c14cf066d.tar.gz
tk-28822e5191d3003f1d8fea59eeb79a0c14cf066d.tar.bz2
Merge 8.5
Diffstat (limited to 'macosx/tkMacOSXScrlbr.c')
-rw-r--r--macosx/tkMacOSXScrlbr.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/macosx/tkMacOSXScrlbr.c b/macosx/tkMacOSXScrlbr.c
index 0f92c70..a189646 100644
--- a/macosx/tkMacOSXScrlbr.c
+++ b/macosx/tkMacOSXScrlbr.c
@@ -216,7 +216,7 @@ static void drawMacScrollbar(
/*
* Do not display the thumb unless scrolling is possible.
*/
-
+
if (scrollPtr->firstFraction > 0.0 || scrollPtr->lastFraction < 1.0) {
CGRect thumbBounds = {thumbOrigin, thumbSize};
path = CGPathCreateWithRoundedRect(thumbBounds, 4, 4, NULL);
@@ -233,7 +233,7 @@ static void drawMacScrollbar(
}
}
#endif
-
+
void
TkpDisplayScrollbar(
ClientData clientData) /* Information about window. */
@@ -317,7 +317,7 @@ TkpDisplayScrollbar(
/*
* Switch back to NSView coordinates and draw a modern scrollbar.
*/
-
+
CGContextConcatCTM(dc.context, t);
drawMacScrollbar(scrollPtr, msPtr, dc.context);
#endif