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