Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ public final class PTGGrayButton: UIButton {
private func configureUI() {
backgroundColor = .gray85
layer.cornerRadius = 12
isExclusiveTouch = true

stackView.axis = .horizontal
stackView.distribution = .equalSpacing
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,5 +69,6 @@ final class EditPhotoHostBottomView: UIView {
nextButton.backgroundColor = PTGColor.primaryGreen.color
nextButton.setImage(PTGImage.chevronRightBlack.image, for: .normal)
nextButton.layer.cornerRadius = 8
nextButton.isExclusiveTouch = true
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,8 @@ final class StickerView: UIView {
}

private func configureUI() {
isExclusiveTouch = true

let deleteButtonImage = PTGImage.xmarkIcon.image
layerView.layer.borderWidth = 2
layerView.layer.borderColor = PTGColor.primaryGreen.color.cgColor
Expand All @@ -88,11 +90,13 @@ final class StickerView: UIView {
deleteButton.setImage(deleteButtonImage, for: .normal)
deleteButton.layer.cornerRadius = deleteButton.bounds.width / 2
deleteButton.clipsToBounds = true
deleteButton.isExclusiveTouch = true

let resizeButtonImage = PTGImage.resizeIcon.image
resizeButton.setImage(resizeButtonImage, for: .normal)
resizeButton.layer.cornerRadius = resizeButton.bounds.width / 2
resizeButton.clipsToBounds = true
resizeButton.isExclusiveTouch = true

setImage(to: sticker.image)
updateOwnerUI(owner: sticker.owner)
Expand Down