Skip to content

Commit

Permalink
Change knob drop shadow to be a little smaller and smoother (#300)
Browse files Browse the repository at this point in the history
  • Loading branch information
pedrovereza authored May 15, 2023
1 parent aef530e commit 3300e5f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ios.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
jobs:
build:
name: Build and Test SDKHostApp scheme using any available iPhone simulator
runs-on: macos-11
runs-on: macos-latest

steps:
- name: Checkout
Expand All @@ -18,7 +18,7 @@ jobs:
env:
scheme: ${{ 'SDKHostApp' }}
platform: ${{ 'iOS Simulator' }}
os: ${{ '15.2' }}
os: ${{ '16.2' }}
device: ${{ 'iPhone 13' }}
run: |
# xcrun xctrace returns via stderr, not the expected stdout (see https://developer.apple.com/forums/thread/663959)
Expand Down
6 changes: 3 additions & 3 deletions IFTTT SDK/ConnectButton+SwitchControl.swift
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ extension ConnectButton {
super.init()

layer.shadowColor = UIColor.black.cgColor
layer.shadowOpacity = 0.25
layer.shadowRadius = 2
layer.shadowOffset = CGSize(width: 2, height: 8)
layer.shadowOpacity = 0.16
layer.shadowRadius = 6
layer.shadowOffset = CGSize(width: 0, height: 3)

addSubview(iconView)
iconView.constrain.center(in: self)
Expand Down

0 comments on commit 3300e5f

Please sign in to comment.