mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-29 11:57:32 +09:00
Fix scroll bar orientation on MacOS
This commit is contained in:
parent
78b6f639b2
commit
7dacd442cf
1 changed files with 2 additions and 3 deletions
|
|
@ -2778,9 +2778,8 @@ nsNativeThemeCocoa::DrawWidgetBackground(nsRenderingContext* aContext,
|
||||||
NSMutableDictionary* options = [NSMutableDictionary dictionaryWithObjectsAndKeys:
|
NSMutableDictionary* options = [NSMutableDictionary dictionaryWithObjectsAndKeys:
|
||||||
(isOverlay ? @"kCUIWidgetOverlayScrollBar" : @"scrollbar"), @"widget",
|
(isOverlay ? @"kCUIWidgetOverlayScrollBar" : @"scrollbar"), @"widget",
|
||||||
(isSmall ? @"small" : @"regular"), @"size",
|
(isSmall ? @"small" : @"regular"), @"size",
|
||||||
(isOverlay && isOnTopOfDarkBackground ? @"kCUIVariantWhite" : @""),
|
(isHorizontal ? @"kCUIOrientHorizontal" : @"kCUIOrientVertical"), @"kCUIOrientationKey",
|
||||||
@"kCUIVariantKey",
|
(isOverlay && isOnTopOfDarkBackground ? @"kCUIVariantWhite" : @""), @"kCUIVariantKey",
|
||||||
(isOnTopOfDarkBackground ? @"kCUIVariantWhite" : @""), @"kCUIVariantKey",
|
|
||||||
[NSNumber numberWithBool:YES], @"indiconly",
|
[NSNumber numberWithBool:YES], @"indiconly",
|
||||||
[NSNumber numberWithBool:YES], @"kCUIThumbProportionKey",
|
[NSNumber numberWithBool:YES], @"kCUIThumbProportionKey",
|
||||||
[NSNumber numberWithBool:YES], @"is.flipped",
|
[NSNumber numberWithBool:YES], @"is.flipped",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue