Spectrum Visualizer: Change border dimensions

This should make the border consistently sized.

Signed-off-by: Christopher Snowhill <kode54@gmail.com>
CQTexperiment
Christopher Snowhill 2022-02-14 17:15:38 -08:00
parent ec56725824
commit 4a0690b3ab
1 changed files with 3 additions and 3 deletions

View File

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