summaryrefslogtreecommitdiffstats
path: root/widget
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@wolfbeast.com>2019-05-15 12:45:38 +0200
committerwolfbeast <mcwerewolf@wolfbeast.com>2019-05-15 12:45:38 +0200
commitf932fb94d87bcba20325ba6978595cbf6be4dcb2 (patch)
tree8956060fc0afb0482c4777be426a6f8a5882cf25 /widget
parent34d5483ac3959a21c3cae2efa6f5ab1b64915a81 (diff)
parent06f7a03ffdf2fd761e06803da8382d567348c1f2 (diff)
downloadUXP-f932fb94d87bcba20325ba6978595cbf6be4dcb2.tar
UXP-f932fb94d87bcba20325ba6978595cbf6be4dcb2.tar.gz
UXP-f932fb94d87bcba20325ba6978595cbf6be4dcb2.tar.lz
UXP-f932fb94d87bcba20325ba6978595cbf6be4dcb2.tar.xz
UXP-f932fb94d87bcba20325ba6978595cbf6be4dcb2.zip
Merge branch 'master' of https://github.com/MoonchildProductions/UXP
Diffstat (limited to 'widget')
-rw-r--r--widget/cocoa/nsNativeThemeCocoa.mm5
1 files changed, 2 insertions, 3 deletions
diff --git a/widget/cocoa/nsNativeThemeCocoa.mm b/widget/cocoa/nsNativeThemeCocoa.mm
index 597c25a48..fc4f7f2e9 100644
--- a/widget/cocoa/nsNativeThemeCocoa.mm
+++ b/widget/cocoa/nsNativeThemeCocoa.mm
@@ -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",