Skip to content

Commit

Permalink
Fix for capture segment layout style
Browse files Browse the repository at this point in the history
  • Loading branch information
akarataev committed Jan 15, 2019
1 parent ab7f24d commit 9c2731e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Binary file added Docs/Mockup-small.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -250,9 +250,9 @@ extension StyleWrapper where Element: CaptureModeSegment {
static func captureSegmentLayoutStyle(at view: UIView) -> StyleWrapper {
return .wrap { captureSegment in
captureSegment.snp.makeConstraints { make in
make.centerX.equalTo(view.snp.centerX).offset(42)
make.centerX.equalTo(view.snp.centerX).offset(39)
make.bottom.equalTo(view.snp.bottom).offset(-131)
make.width.equalTo(127)
make.width.equalTo(130)
make.height.equalTo(20)
}

Expand All @@ -266,7 +266,7 @@ extension StyleWrapper where Element: CaptureModeSegment {
captureSegment.snp.makeConstraints { make in
make.centerX.equalTo(view.snp.centerX).offset(offset)
make.bottom.equalTo(view.snp.bottom).offset(-131)
make.width.equalTo(127)
make.width.equalTo(130)
make.height.equalTo(20)
}
}
Expand Down

0 comments on commit 9c2731e

Please sign in to comment.