Преглед на файлове

EditButtons: Remove unnecessary content horizontal alignment

Soomin Lee преди 5 години
родител
ревизия
a40c371aaf
променени са 1 файла, в които са добавени 0 реда и са изтрити 1 реда
  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