summaryrefslogtreecommitdiffstats
path: root/macosx/ttkMacOSXTheme.c
diff options
context:
space:
mode:
authorculler <culler>2019-06-26 18:59:19 (GMT)
committerculler <culler>2019-06-26 18:59:19 (GMT)
commitfde1c03942e4b7b565abc9532cf439bbe42643f7 (patch)
tree5e9d2966b8c7ef9a22df341117d8a93cfd5a45b0 /macosx/ttkMacOSXTheme.c
parenta3129322d24fa7319ca3ad4ec44b37a5ab4f4ec0 (diff)
downloadtk-fde1c03942e4b7b565abc9532cf439bbe42643f7.zip
tk-fde1c03942e4b7b565abc9532cf439bbe42643f7.tar.gz
tk-fde1c03942e4b7b565abc9532cf439bbe42643f7.tar.bz2
Fix bug [8476b75781]: Aqua scrollbar behavior
Diffstat (limited to 'macosx/ttkMacOSXTheme.c')
-rw-r--r--macosx/ttkMacOSXTheme.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/macosx/ttkMacOSXTheme.c b/macosx/ttkMacOSXTheme.c
index c33e8c9..05a5539 100644
--- a/macosx/ttkMacOSXTheme.c
+++ b/macosx/ttkMacOSXTheme.c
@@ -2346,11 +2346,7 @@ static void ThumbElementSize(
int orientation = TTK_ORIENT_HORIZONTAL;
Ttk_GetOrientFromObj(NULL, scrollbar->orientObj, &orientation);
- if (orientation == TTK_ORIENT_HORIZONTAL) {
- *minHeight = 8;
- } else {
- *minWidth = 8;
- }
+ *minHeight = *minWidth = 8;
}
static void ThumbElementDraw(