mirror of
https://github.com/yJason/ClashX-Dashboard.git
synced 2026-03-01 00:35:19 +08:00
init
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
//
|
||||
// ClearBackgroundList.swift
|
||||
// ClashX Dashboard
|
||||
//
|
||||
//
|
||||
|
||||
import Foundation
|
||||
import SwiftUI
|
||||
|
||||
extension NSTableView {
|
||||
open override func viewWillMove(toWindow newWindow: NSWindow?) {
|
||||
super.viewDidMoveToWindow()
|
||||
backgroundColor = NSColor.clear
|
||||
enclosingScrollView!.drawsBackground = false
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user