diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2024-06-17 13:02:57 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2024-06-17 13:02:57 (GMT) |
commit | a983245e41399dd76602e12f17bc3170de207680 (patch) | |
tree | 259f9d0d5c7d566b56ccbd47b46ed7d05ac528c5 /macosx/tkMacOSXScrlbr.c | |
parent | c7155c6da59086934fe2e1567f5c3b0335a5b693 (diff) | |
download | tk-a983245e41399dd76602e12f17bc3170de207680.zip tk-a983245e41399dd76602e12f17bc3170de207680.tar.gz tk-a983245e41399dd76602e12f17bc3170de207680.tar.bz2 |
Move scrollbar sanity checks from platform-code to generic. Fix indenting in win/* files
Diffstat (limited to 'macosx/tkMacOSXScrlbr.c')
-rw-r--r-- | macosx/tkMacOSXScrlbr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/macosx/tkMacOSXScrlbr.c b/macosx/tkMacOSXScrlbr.c index 500a5cf..f5b25f1 100644 --- a/macosx/tkMacOSXScrlbr.c +++ b/macosx/tkMacOSXScrlbr.c @@ -649,8 +649,8 @@ UpdateControlValues( || height <= metrics.minHeight) { msPtr->info.enableState = kThemeTrackHideTrack; } else { - msPtr->info.enableState = kThemeTrackActive; - msPtr->info.attributes = + msPtr->info.enableState = kThemeTrackActive; + msPtr->info.attributes = kThemeTrackShowThumb | kThemeTrackThumbRgnIsNotGhost; } } |