Fix conversation thread links appearing above avatar when lifted by pointer
This commit is contained in:
parent
1b6f0c07fd
commit
cd0d8fffcb
|
@ -256,6 +256,7 @@ extension StatusCollectionViewCell {
|
|||
view.backgroundColor = .tintColor.withAlphaComponent(0.5)
|
||||
view.layer.cornerRadius = 2.5
|
||||
view.layer.maskedCorners = [.layerMinXMaxYCorner, .layerMaxXMaxYCorner]
|
||||
view.layer.zPosition = -1
|
||||
prevThreadLinkView = view
|
||||
contentView.addSubview(view)
|
||||
NSLayoutConstraint.activate([
|
||||
|
@ -278,6 +279,7 @@ extension StatusCollectionViewCell {
|
|||
view.backgroundColor = .tintColor.withAlphaComponent(0.5)
|
||||
view.layer.cornerRadius = 2.5
|
||||
view.layer.maskedCorners = [.layerMinXMinYCorner, .layerMaxXMinYCorner]
|
||||
view.layer.zPosition = -1
|
||||
nextThreadLinkView = view
|
||||
contentView.addSubview(view)
|
||||
let bottomConstraint = view.bottomAnchor.constraint(equalTo: contentView.bottomAnchor)
|
||||
|
|
Loading…
Reference in New Issue