parent
ce99352e90
commit
2913098e74
|
@ -380,6 +380,8 @@ class AttachmentView: GIFImageView {
|
||||||
self.badgeContainer = stack
|
self.badgeContainer = stack
|
||||||
stack.axis = .horizontal
|
stack.axis = .horizontal
|
||||||
stack.spacing = 2
|
stack.spacing = 2
|
||||||
|
// badges should appear on top of any subsequently added views (e.g., gifv)
|
||||||
|
stack.layer.zPosition = 100
|
||||||
stack.translatesAutoresizingMaskIntoConstraints = false
|
stack.translatesAutoresizingMaskIntoConstraints = false
|
||||||
|
|
||||||
let font = UIFontMetrics(forTextStyle: .caption1).scaledFont(for: .systemFont(ofSize: 13, weight: .bold))
|
let font = UIFontMetrics(forTextStyle: .caption1).scaledFont(for: .systemFont(ofSize: 13, weight: .bold))
|
||||||
|
|
Loading…
Reference in New Issue