Skip to content

Commit

Permalink
Merge pull request #107 from layoutBox/fix_padding
Browse files Browse the repository at this point in the history
Fix top padding in method padding(_ top: CGFloat, _ left: CGFloat, _ …
  • Loading branch information
lucdion authored Aug 9, 2018
2 parents 01d7556 + ffeff82 commit 9afac85
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion FlexLayout.podspec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

Pod::Spec.new do |spec|
spec.name = "FlexLayout"
spec.version = "1.3.10"
spec.version = "1.3.11"
spec.summary = "FlexLayout"
spec.homepage = "https://github.com/lucdion/FlexLayout.git"
spec.license = "MIT license"
Expand Down
4 changes: 2 additions & 2 deletions Podfile.lock
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
PODS:
- FlexLayout (1.3.6)
- FlexLayout (1.3.10)
- Nimble (7.1.1)
- PinLayout (1.7.3)
- Quick (1.3.0)
Expand Down Expand Up @@ -27,7 +27,7 @@ EXTERNAL SOURCES:
:path: "./"

SPEC CHECKSUMS:
FlexLayout: 0f56895b2f65ad067a1a4012ba301224c2389cd0
FlexLayout: 1f4e23de3e6b32cc75a9692ead73f7913a17a4a5
Nimble: 391f07782af4b37914f9bd7b2ffbb952731b8202
PinLayout: 0c2e68dba036a291ca9278aa8b799f58506f2a6d
Quick: 03278013f71aa05fe9ecabc94fbcc6835f1ee76f
Expand Down
2 changes: 1 addition & 1 deletion Sources/FlexLayout.swift
Original file line number Diff line number Diff line change
Expand Up @@ -1007,7 +1007,7 @@ public final class Flex {
*/
@discardableResult
public func padding(_ top: CGFloat, _ left: CGFloat, _ bottom: CGFloat, _ right: CGFloat) -> Flex {
yoga.padding = YGValue(top)
yoga.paddingTop = YGValue(top)
yoga.paddingLeft = YGValue(left)
yoga.paddingBottom = YGValue(bottom)
yoga.paddingRight = YGValue(right)
Expand Down

0 comments on commit 9afac85

Please sign in to comment.