Better centering of scope.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8223 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
c75d8265c9
commit
54302f75a1
|
@ -220,7 +220,7 @@ void ScopeView::DrawPlaying()
|
|||
SetHighColor(255, 0, 130);
|
||||
SetLowColor(0, 130, 0);
|
||||
#define N 16
|
||||
int32 x, y, sx = 0, f = (height << N) / 65535, dy = height / 2;
|
||||
int32 x, y, sx = 0, f = (height << N) / 65535, dy = height / 2 + 1;
|
||||
for (int32 i = 0; i < width; i++)
|
||||
{
|
||||
x = sx / width;
|
||||
|
|
Loading…
Reference in New Issue