added: make the peak hold move up instead of down
This commit is contained in:
parent
4bf3826f5e
commit
6c2ed75aef
1 changed files with 5 additions and 1 deletions
|
@ -334,7 +334,11 @@ void CBitVis::SendData(int64_t time)
|
|||
pixel |= 2;
|
||||
|
||||
if (time - currpeak.time > 500000 && Round32(currpeak.value) > 0)
|
||||
currpeak.value -= 0.01f;
|
||||
{
|
||||
currpeak.value += 0.01f;
|
||||
if (currpeak.value >= lines)
|
||||
currpeak.value = 0.0f;
|
||||
}
|
||||
}
|
||||
line[x] = pixel;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue