Skip to content

Commit 3300e5f

Browse files
authored
Change knob drop shadow to be a little smaller and smoother (#300)
1 parent aef530e commit 3300e5f

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

.github/workflows/ios.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ on:
99
jobs:
1010
build:
1111
name: Build and Test SDKHostApp scheme using any available iPhone simulator
12-
runs-on: macos-11
12+
runs-on: macos-latest
1313

1414
steps:
1515
- name: Checkout
@@ -18,7 +18,7 @@ jobs:
1818
env:
1919
scheme: ${{ 'SDKHostApp' }}
2020
platform: ${{ 'iOS Simulator' }}
21-
os: ${{ '15.2' }}
21+
os: ${{ '16.2' }}
2222
device: ${{ 'iPhone 13' }}
2323
run: |
2424
# xcrun xctrace returns via stderr, not the expected stdout (see https://developer.apple.com/forums/thread/663959)

IFTTT SDK/ConnectButton+SwitchControl.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@ extension ConnectButton {
2222
super.init()
2323

2424
layer.shadowColor = UIColor.black.cgColor
25-
layer.shadowOpacity = 0.25
26-
layer.shadowRadius = 2
27-
layer.shadowOffset = CGSize(width: 2, height: 8)
25+
layer.shadowOpacity = 0.16
26+
layer.shadowRadius = 6
27+
layer.shadowOffset = CGSize(width: 0, height: 3)
2828

2929
addSubview(iconView)
3030
iconView.constrain.center(in: self)

0 commit comments

Comments
 (0)