File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ class SiteIconView: UIView {
44 static let imageSize : CGFloat = 64
55 static let borderRadius : CGFloat = 4
66 static let imageRadius : CGFloat = 2
7- static let spotlightOffset : CGFloat = - 8
7+ static let spotlightOffset : CGFloat = 8
88 }
99
1010 /// Whether or not to show the spotlight animation to illustrate tapping the icon.
@@ -92,8 +92,8 @@ class SiteIconView: UIView {
9292 addSubview ( spotlightView)
9393
9494 NSLayoutConstraint . activate ( [
95- trailingAnchor . constraint ( equalTo: spotlightView. trailingAnchor , constant: Constants . spotlightOffset) ,
96- bottomAnchor . constraint ( equalTo: spotlightView. bottomAnchor , constant: Constants . spotlightOffset)
95+ leadingAnchor . constraint ( equalTo: spotlightView. leadingAnchor , constant: Constants . spotlightOffset) ,
96+ topAnchor . constraint ( equalTo: spotlightView. topAnchor , constant: Constants . spotlightOffset)
9797 ] )
9898
9999 pinSubviewToAllEdges ( button)
You can’t perform that action at this time.
0 commit comments