Add width constraint to extractor button so that it doesn't move around on the most recent Big Sur beta's

This commit is contained in:
Maurice Parker 2020-09-18 18:04:46 -05:00
parent 4c9f388128
commit fe39863858
1 changed files with 1 additions and 0 deletions

View File

@ -68,6 +68,7 @@ class ArticleExtractorButton: NSButton {
bezelStyle = .texturedRounded
image = AppAssets.articleExtractorOff
imageScaling = .scaleProportionallyDown
widthAnchor.constraint(equalTo: heightAnchor).isActive = true
}
override func layout() {