fixed a small top-margin issue.
This commit is contained in:
parent
b6f05fa0a6
commit
2276865d6a
@ -69,7 +69,7 @@ void paintTracks(HDC hdc, RECT rcTracks)
|
|||||||
{
|
{
|
||||||
char temp[256];
|
char temp[256];
|
||||||
|
|
||||||
int firstLine = scrollPosY / fontHeight;
|
int firstLine = scrollPosY + (rcTracks.top) / fontHeight;
|
||||||
int lastLine = scrollPosY + (rcTracks.bottom + fontHeight - 1) / fontHeight;
|
int lastLine = scrollPosY + (rcTracks.bottom + fontHeight - 1) / fontHeight;
|
||||||
|
|
||||||
int trackLeft = -scrollPosX;
|
int trackLeft = -scrollPosX;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user