mirror of
https://github.com/morgan9e/macos-stats
synced 2026-04-15 00:34:08 +09:00
fix: adjust network chart width when the label is enabled (#644)
This commit is contained in:
@@ -119,7 +119,7 @@ public class NetworkChart: WidgetWrapper {
|
||||
self.chart.draw(NSRect(
|
||||
x: x+offset,
|
||||
y: 1,
|
||||
width: box.bounds.width - 1 - x - offset,
|
||||
width: box.bounds.width - 1 - offset,
|
||||
height: box.bounds.height - ((box.bounds.origin.y + lineWidth)*2)
|
||||
))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user