Graphics fix for old OSes

This commit is contained in:
vectorsigma72 2020-02-11 16:31:33 +01:00
parent 99e9fc5d89
commit 142c24821d

View File

@ -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 {