From 4a0690b3abb2d25d99260c832df305b4fbf5f05c Mon Sep 17 00:00:00 2001 From: Christopher Snowhill Date: Mon, 14 Feb 2022 17:15:38 -0800 Subject: [PATCH] Spectrum Visualizer: Change border dimensions This should make the border consistently sized. Signed-off-by: Christopher Snowhill --- Visualization/SpectrumView.m | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Visualization/SpectrumView.m b/Visualization/SpectrumView.m index 1f6cd03a5..ad4528945 100644 --- a/Visualization/SpectrumView.m +++ b/Visualization/SpectrumView.m @@ -234,9 +234,9 @@ extern NSString *CogPlaybackDidStopNotficiation; CGContextRef context = NSGraphicsContext.currentContext.CGContext; CGContextMoveToPoint(context, 0.0, 0.0); - CGContextAddLineToPoint(context, 63.0, 0.0); - CGContextAddLineToPoint(context, 63.0, 25.0); - CGContextAddLineToPoint(context, 0.0, 25.0); + CGContextAddLineToPoint(context, 64.0, 0.0); + CGContextAddLineToPoint(context, 64.0, 26.0); + CGContextAddLineToPoint(context, 0.0, 26.0); CGContextAddLineToPoint(context, 0.0, 0.0); CGContextSetStrokeColorWithColor(context, borderColor.CGColor); CGContextStrokePath(context);