mirror of
https://github.com/morgan9e/macos-stats
synced 2026-04-14 00:04:15 +09:00
feat: disabled tooltip for the GPU popup charts (#2651)
This commit is contained in:
@@ -219,6 +219,7 @@ private class GPUView: NSStackView {
|
||||
chart = view as! LineChartView
|
||||
} else {
|
||||
chart = LineChartView(frame: NSRect(x: 0, y: 0, width: 100, height: self.chartSize), num: 120)
|
||||
chart.isTooltipEnabled = false
|
||||
chart.wantsLayer = true
|
||||
chart.layer?.backgroundColor = NSColor.lightGray.withAlphaComponent(0.1).cgColor
|
||||
chart.layer?.cornerRadius = 3
|
||||
|
||||
Reference in New Issue
Block a user