Selaa lähdekoodia

EditButtons: Remove unnecessary content horizontal alignment

Soomin Lee 5 vuotta sitten
vanhempi
commit
a40c371aaf
1 muutettua tiedostoa jossa 0 lisäystä ja 1 poistoa
  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