[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>swiftingly
parent
f4712ad219
commit
438634d6df
|
@ -290,7 +290,7 @@ extern NSString *CogPlaybackDidStopNotficiation;
|
||||||
node.position = position;
|
node.position = position;
|
||||||
|
|
||||||
position = dotNode.position;
|
position = dotNode.position;
|
||||||
position.y = 0;
|
position.y = 0.072;
|
||||||
dotNode.position = position;
|
dotNode.position = position;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -330,7 +330,7 @@ extern NSString *CogPlaybackDidStopNotficiation;
|
||||||
node.position = position;
|
node.position = position;
|
||||||
|
|
||||||
position = dotNode.position;
|
position = dotNode.position;
|
||||||
position.y = maxMax;
|
position.y = maxMax + 0.072;
|
||||||
dotNode.position = position;
|
dotNode.position = position;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue