Skip to content

Commit

Permalink
Add a little spacing to selection view
Browse files Browse the repository at this point in the history
  • Loading branch information
ilia3546 committed Aug 31, 2022
1 parent e9710cd commit 06b9c70
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Sources/Views/DayCell.swift
Original file line number Diff line number Diff line change
Expand Up @@ -133,8 +133,8 @@ class DayCell: JTACDayCell {
}
self.selectionBackgroundView.snp.makeConstraints { (maker) in
maker.height.equalTo(100).priority(.low)
maker.top.left.greaterThanOrEqualToSuperview()
maker.right.bottom.lessThanOrEqualToSuperview()
maker.top.left.greaterThanOrEqualToSuperview().offset(1)
maker.right.bottom.lessThanOrEqualToSuperview().offset(-1)
maker.center.equalToSuperview()
maker.width.equalTo(self.selectionBackgroundView.snp.height)
}
Expand Down

0 comments on commit 06b9c70

Please sign in to comment.