Skip to content

Commit

Permalink
Merge pull request #65 from simla-tech/issue-#63-fix-ui-in-cell
Browse files Browse the repository at this point in the history
delete offset in DayCell
  • Loading branch information
UriyDevyataev authored Oct 7, 2024
2 parents f830288 + cf62ea4 commit b207870
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions Sources/Views/DayCell.swift
Original file line number Diff line number Diff line change
Expand Up @@ -112,11 +112,8 @@ final class DayCell: JTACDayCell {
self.rangeViewLeftAnchorToSuperviewConstraint = self.backgroundRangeView.leftAnchor.constraint(equalTo: self.contentView.leftAnchor)
self.rangeViewLeftAnchorToCenterConstraint = self.backgroundRangeView.leftAnchor.constraint(equalTo: self.contentView.centerXAnchor)

// Add small offset to prevent spacing between cells
self.rangeViewRightAnchorToSuperviewConstraint = self.backgroundRangeView.rightAnchor.constraint(
equalTo: self.contentView.rightAnchor,
constant: 1
)
self.rangeViewRightAnchorToSuperviewConstraint = self.backgroundRangeView.rightAnchor
.constraint(equalTo:self.contentView.rightAnchor)
self.rangeViewRightAnchorToCenterConstraint = self.backgroundRangeView.rightAnchor
.constraint(equalTo: self.contentView.centerXAnchor)

Expand Down

0 comments on commit b207870

Please sign in to comment.