mirror of
https://github.com/CloverHackyColor/CloverBootloader.git
synced 2025-01-22 21:01:31 +01:00
Graphics fix for old OSes
This commit is contained in:
parent
99e9fc5d89
commit
142c24821d
@ -9,6 +9,7 @@
|
||||
import Cocoa
|
||||
|
||||
class LITabView: NSTabView {
|
||||
private var drawBack : Bool = false
|
||||
var tabIndex: Int = 0
|
||||
var lastTabIndex: Int {
|
||||
get {
|
||||
@ -17,6 +18,18 @@ class LITabView: NSTabView {
|
||||
self.tabIndex = newValue
|
||||
}
|
||||
}
|
||||
|
||||
override var allowsVibrancy: Bool {
|
||||
return false
|
||||
}
|
||||
|
||||
override var drawsBackground: Bool {
|
||||
get {
|
||||
return false
|
||||
} set {
|
||||
self.drawBack = false
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class SoundSlider : NSSlider {
|
||||
|
Loading…
Reference in New Issue
Block a user