Fix button animation resets

This commit is contained in:
Maurice Parker 2019-09-19 17:30:54 -05:00
parent 76056e4fef
commit 567d762ea4
1 changed files with 6 additions and 2 deletions

View File

@ -12,15 +12,19 @@ class ArticleExtractorButton: NSButton {
var isError = false {
didSet {
if isError != oldValue {
needsDisplay = true
}
}
}
var isInProgress = false {
didSet {
if isInProgress != oldValue {
needsDisplay = true
}
}
}
override init(frame frameRect: NSRect) {
super.init(frame: frameRect)