Fix button animation resets
This commit is contained in:
parent
76056e4fef
commit
567d762ea4
|
@ -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
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue