From 438634d6df2095a8cb64b11a227e9415de4930b5 Mon Sep 17 00:00:00 2001 From: Christopher Snowhill Date: Sun, 22 May 2022 17:25:21 -0700 Subject: [PATCH] [Visualization]: Change peaks to float on top Change the peak sphere positions so they float on top of the bottom or the bars, instead of clipping into them. Signed-off-by: Christopher Snowhill --- Visualization/SpectrumView.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Visualization/SpectrumView.m b/Visualization/SpectrumView.m index 193f75a18..718e780df 100644 --- a/Visualization/SpectrumView.m +++ b/Visualization/SpectrumView.m @@ -290,7 +290,7 @@ extern NSString *CogPlaybackDidStopNotficiation; node.position = position; position = dotNode.position; - position.y = 0; + position.y = 0.072; dotNode.position = position; } @@ -330,7 +330,7 @@ extern NSString *CogPlaybackDidStopNotficiation; node.position = position; position = dotNode.position; - position.y = maxMax; + position.y = maxMax + 0.072; dotNode.position = position; }