Skip to content

Commit 47e4c2f

Browse files
committed
Correct corner radius for macOS to match iOS.
https://bugs.webkit.org/show_bug.cgi?id=293011 rdar://149900197 Reviewed by Aditya Keerthi. On iOS we have an overlay for the find indicator that adds a corner radius to the indicator. We should just do this for all TextIndicators on all cocoa platforms. * Source/WebCore/page/cocoa/WebTextIndicatorLayer.mm: Canonical link: https://commits.webkit.org/294932@main
1 parent 9bd7581 commit 47e4c2f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Source/WebCore/page/cocoa/WebTextIndicatorLayer.mm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
constexpr CFTimeInterval fadeOutAnimationDuration = 0.3;
4545

4646
constexpr CGFloat borderWidth = 0;
47-
constexpr CGFloat cornerRadius = 0;
47+
constexpr CGFloat cornerRadius = 3;
4848
constexpr CGFloat dropShadowOffsetX = 0;
4949
constexpr CGFloat dropShadowOffsetY = 1;
5050

0 commit comments

Comments
 (0)