Fix scroll bar orientation on MacOS
This commit is contained in:
parent
24da94b494
commit
5fe2c2aef4
|
@ -2778,9 +2778,8 @@ nsNativeThemeCocoa::DrawWidgetBackground(nsRenderingContext* aContext,
|
|||
NSMutableDictionary* options = [NSMutableDictionary dictionaryWithObjectsAndKeys:
|
||||
(isOverlay ? @"kCUIWidgetOverlayScrollBar" : @"scrollbar"), @"widget",
|
||||
(isSmall ? @"small" : @"regular"), @"size",
|
||||
(isOverlay && isOnTopOfDarkBackground ? @"kCUIVariantWhite" : @""),
|
||||
@"kCUIVariantKey",
|
||||
(isOnTopOfDarkBackground ? @"kCUIVariantWhite" : @""), @"kCUIVariantKey",
|
||||
(isHorizontal ? @"kCUIOrientHorizontal" : @"kCUIOrientVertical"), @"kCUIOrientationKey",
|
||||
(isOverlay && isOnTopOfDarkBackground ? @"kCUIVariantWhite" : @""), @"kCUIVariantKey",
|
||||
[NSNumber numberWithBool:YES], @"indiconly",
|
||||
[NSNumber numberWithBool:YES], @"kCUIThumbProportionKey",
|
||||
[NSNumber numberWithBool:YES], @"is.flipped",
|
||||
|
|
Loading…
Reference in New Issue