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,13 +12,17 @@ class ArticleExtractorButton: NSButton {
var isError = false { var isError = false {
didSet { didSet {
needsDisplay = true if isError != oldValue {
needsDisplay = true
}
} }
} }
var isInProgress = false { var isInProgress = false {
didSet { didSet {
needsDisplay = true if isInProgress != oldValue {
needsDisplay = true
}
} }
} }