Pointer effects
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user