File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ class SiteIconView: UIView {
4
4
static let imageSize : CGFloat = 64
5
5
static let borderRadius : CGFloat = 4
6
6
static let imageRadius : CGFloat = 2
7
- static let spotlightOffset : CGFloat = - 8
7
+ static let spotlightOffset : CGFloat = 8
8
8
}
9
9
10
10
/// Whether or not to show the spotlight animation to illustrate tapping the icon.
@@ -92,8 +92,8 @@ class SiteIconView: UIView {
92
92
addSubview ( spotlightView)
93
93
94
94
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)
97
97
] )
98
98
99
99
pinSubviewToAllEdges ( button)
You can’t perform that action at this time.
0 commit comments