[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 <kode54@gmail.com>
This commit is contained in:
parent
f4712ad219
commit
438634d6df
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue