浏览代码

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