diff --git a/Tusker/Views/Status/StatusCollectionViewCell.swift b/Tusker/Views/Status/StatusCollectionViewCell.swift index 2e09a66366..2d85c3ecf3 100644 --- a/Tusker/Views/Status/StatusCollectionViewCell.swift +++ b/Tusker/Views/Status/StatusCollectionViewCell.swift @@ -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)