mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-22 23:27:30 +09:00
Bug1408701: Ensure that we continue to show dark scrollbar thumbs on..
..macOS 10.13+ when scrollbars are always displayed. r=mstange
This commit is contained in:
parent
83ab16d267
commit
a446734d20
1 changed files with 2 additions and 1 deletions
|
|
@ -2778,7 +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",
|
||||||
(isHorizontal ? @"kCUIOrientHorizontal" : @"kCUIOrientVertical"), @"kCUIOrientationKey",
|
(isOverlay && isOnTopOfDarkBackground ? @"kCUIVariantWhite" : @""),
|
||||||
|
@"kCUIVariantKey",
|
||||||
(isOnTopOfDarkBackground ? @"kCUIVariantWhite" : @""), @"kCUIVariantKey",
|
(isOnTopOfDarkBackground ? @"kCUIVariantWhite" : @""), @"kCUIVariantKey",
|
||||||
[NSNumber numberWithBool:YES], @"indiconly",
|
[NSNumber numberWithBool:YES], @"indiconly",
|
||||||
[NSNumber numberWithBool:YES], @"kCUIThumbProportionKey",
|
[NSNumber numberWithBool:YES], @"kCUIThumbProportionKey",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue