Browse Source

EditButtons: Remove unnecessary content horizontal alignment

Soomin Lee 5 years ago
parent
commit
a40c371aaf
1 changed files with 0 additions and 1 deletions
  1. 0 1
      Sources/EditButtons.swift

+ 0 - 1
Sources/EditButtons.swift

@@ -33,7 +33,6 @@ class EditButton {
     func button(_ selector: Selector) -> UIButton {
         let generatedButton = UIButton(type: .system)
         generatedButton.setImage(UIImage(named: image), for: .normal)
-        generatedButton.contentHorizontalAlignment = .left
         generatedButton.addTarget(self, action: selector, for: .touchUpInside)
         generatedButton.widthAnchor.constraint(equalToConstant: 44).isActive = true
         generatedButton.tintColor = .orange