Title: [225923] trunk/Source/WebCore
Revision
225923
Author
jer.no...@apple.com
Date
2017-12-14 12:50:50 -0800 (Thu, 14 Dec 2017)

Log Message

"Click to exit fullscreen" text not legible on High Sierra
https://bugs.webkit.org/show_bug.cgi?id=180825
<rdar://problem/32839983>

Reviewed by Eric Carlson.

Explicitly set the NSVisualAffectView's .appearance property.

* platform/mac/WebCoreFullScreenPlaceholderView.mm:
(-[WebCoreFullScreenPlaceholderView initWithFrame:]):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (225922 => 225923)


--- trunk/Source/WebCore/ChangeLog	2017-12-14 20:33:20 UTC (rev 225922)
+++ trunk/Source/WebCore/ChangeLog	2017-12-14 20:50:50 UTC (rev 225923)
@@ -1,3 +1,16 @@
+2017-12-14  Jer Noble  <jer.no...@apple.com>
+
+        "Click to exit fullscreen" text not legible on High Sierra
+        https://bugs.webkit.org/show_bug.cgi?id=180825
+        <rdar://problem/32839983>
+
+        Reviewed by Eric Carlson.
+
+        Explicitly set the NSVisualAffectView's .appearance property.
+
+        * platform/mac/WebCoreFullScreenPlaceholderView.mm:
+        (-[WebCoreFullScreenPlaceholderView initWithFrame:]):
+
 2017-12-14  Antoine Quint  <grao...@apple.com>
 
         [Web Animations] Implement the finish() method on Animation

Modified: trunk/Source/WebCore/platform/mac/WebCoreFullScreenPlaceholderView.mm (225922 => 225923)


--- trunk/Source/WebCore/platform/mac/WebCoreFullScreenPlaceholderView.mm	2017-12-14 20:33:20 UTC (rev 225922)
+++ trunk/Source/WebCore/platform/mac/WebCoreFullScreenPlaceholderView.mm	2017-12-14 20:50:50 UTC (rev 225923)
@@ -57,6 +57,7 @@
     _effectView.get().hidden = YES;
     _effectView.get().material = NSVisualEffectMaterialLight;
     _effectView.get().state = NSVisualEffectStateActive;
+    _effectView.get().appearance = [NSAppearance appearanceNamed:NSAppearanceNameVibrantLight];
     [self addSubview:_effectView.get()];
 
     _exitWarning = adoptNS([[NSTextField alloc] initWithFrame:NSZeroRect]);
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to