Pointer effects

This commit is contained in:
James Magahern
2021-04-19 17:55:24 -07:00
parent 6eb462aeb7
commit 428232bfa8
5 changed files with 28 additions and 1 deletions

View File

@@ -29,6 +29,7 @@ class TabView: UIControl
addSubview(closeButton)
closeButton.setImage(UIImage(systemName: "xmark.square.fill"), for: .normal)
closeButton.isPointerInteractionEnabled = true
closeButton.imageView?.contentMode = .center
closeButton.tintColor = .label