|
@@ -56,8 +56,8 @@ import Cocoa
|
|
var isSelect: Bool = false {
|
|
var isSelect: Bool = false {
|
|
didSet {
|
|
didSet {
|
|
if isSelect {
|
|
if isSelect {
|
|
- self.contendView.layer?.borderColor = NSColor(red: 206/255, green: 208/255, blue: 212/255, alpha: 0.6).cgColor
|
|
|
|
- self.contendView.layer?.backgroundColor = NSColor(red: 206/255, green: 208/255, blue: 212/255, alpha: 1).cgColor
|
|
|
|
|
|
+ self.contendView.layer?.borderColor = KMAppearance.Status.selColor().cgColor//NSColor(red: 206/255, green: 208/255, blue: 212/255, alpha: 0.6).cgColor
|
|
|
|
+ self.contendView.layer?.backgroundColor = KMAppearance.Status.selColor().cgColor//NSColor(red: 206/255, green: 208/255, blue: 212/255, alpha: 1).cgColor
|
|
} else {
|
|
} else {
|
|
self.contendView.layer?.borderColor = NSColor.clear.cgColor
|
|
self.contendView.layer?.borderColor = NSColor.clear.cgColor
|
|
self.contendView.layer?.backgroundColor = NSColor.clear.cgColor
|
|
self.contendView.layer?.backgroundColor = NSColor.clear.cgColor
|
|
@@ -71,8 +71,8 @@ import Cocoa
|
|
if isSelect {
|
|
if isSelect {
|
|
|
|
|
|
} else {
|
|
} else {
|
|
- self.contendView.layer?.borderColor = NSColor(red: 237/255, green: 238/255, blue: 240/255, alpha: 1).cgColor
|
|
|
|
- self.contendView.layer?.backgroundColor = NSColor(red: 237/255, green: 238/255, blue: 240/255, alpha: 1).cgColor
|
|
|
|
|
|
+ self.contendView.layer?.borderColor = KMAppearance.Status.selColor().cgColor//NSColor(red: 237/255, green: 238/255, blue: 240/255, alpha: 1).cgColor
|
|
|
|
+ self.contendView.layer?.backgroundColor = KMAppearance.Status.selColor().cgColor//NSColor(red: 237/255, green: 238/255, blue: 240/255, alpha: 1).cgColor
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|