mirror of
https://github.com/Toxblh/MTMR.git
synced 2026-01-11 09:28:38 +00:00
* fix
This commit is contained in:
parent
966a924183
commit
0808f0617a
@ -100,10 +100,7 @@ class CustomButtonCell: NSButtonCell {
|
||||
|
||||
override func highlight(_ flag: Bool, withFrame cellFrame: NSRect, in controlView: NSView) {
|
||||
if flag {
|
||||
controlView.layer?.masksToBounds = true
|
||||
self.isBordered = true
|
||||
} else {
|
||||
self.isBordered = false
|
||||
}
|
||||
super.highlight(flag, withFrame: cellFrame, in: controlView)
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user