From d06fb00c6ff4853f6583f1c8ff3edc487cb5b544 Mon Sep 17 00:00:00 2001 From: xaoxuu Date: Thu, 23 Mar 2023 16:43:33 +0800 Subject: [PATCH] contentEdgeInsets.bottom --- Sources/ProHUD/Core/Views/Button.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/ProHUD/Core/Views/Button.swift b/Sources/ProHUD/Core/Views/Button.swift index a5cfa8a..e498b36 100644 --- a/Sources/ProHUD/Core/Views/Button.swift +++ b/Sources/ProHUD/Core/Views/Button.swift @@ -60,7 +60,7 @@ open class Button: UIButton { setTitleColor(textColor, for: .normal) backgroundColor = .none contentEdgeInsets.top = 0 - contentEdgeInsets.bottom = 4 + contentEdgeInsets.bottom = 0 } }