|
@@ -15,8 +15,6 @@ class KMSecureLimitAlertView: NSView {
|
|
|
var deleteButton = NSButton()
|
|
|
var funcButton = NSButton()
|
|
|
|
|
|
- var funcButtonVC: KMDesignButton?
|
|
|
-
|
|
|
var itemClick: KMSecureLimitAlertViewItemClick?
|
|
|
private var funcButtonSize: NSSize = NSMakeSize(163, 32)
|
|
|
|
|
@@ -41,11 +39,6 @@ class KMSecureLimitAlertView: NSView {
|
|
|
addSubview(despLabel)
|
|
|
self.addSubview(self.deleteButton)
|
|
|
self.addSubview(self.funcButton)
|
|
|
-
|
|
|
- self.funcButtonVC = KMDesignButton(withType: .Text)
|
|
|
- self.funcButton.addSubview(self.funcButtonVC!.view)
|
|
|
- self.funcButtonVC?.view.frame = self.funcButton.bounds
|
|
|
- self.funcButtonVC?.view.autoresizingMask = [.width, .height]
|
|
|
|
|
|
self.wantsLayer = true
|
|
|
layer?.backgroundColor = NSColor(hex: "#E8F5FF").cgColor
|