feat: disabled tooltip for the GPU popup charts (#2651)

This commit is contained in:
Serhiy Mytrovtsiy
2025-08-23 18:42:28 +02:00
parent 6841657210
commit 5a8d3b0545

View File

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