Fix button animation resets
This commit is contained in:
parent
76056e4fef
commit
567d762ea4
|
@ -12,13 +12,17 @@ class ArticleExtractorButton: NSButton {
|
|||
|
||||
var isError = false {
|
||||
didSet {
|
||||
needsDisplay = true
|
||||
if isError != oldValue {
|
||||
needsDisplay = true
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
var isInProgress = false {
|
||||
didSet {
|
||||
needsDisplay = true
|
||||
if isInProgress != oldValue {
|
||||
needsDisplay = true
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue