fixed so the correct tracks are grayed out
This commit is contained in:
parent
a5346b6ac3
commit
1e1c636b18
@ -151,7 +151,7 @@ void TrackView::paintTopMargin(HDC hdc, RECT rcTracks)
|
|||||||
|
|
||||||
const std::basic_string<TCHAR> &trackName = trackIter->first;
|
const std::basic_string<TCHAR> &trackName = trackIter->first;
|
||||||
|
|
||||||
if (this->document->clientRemap.count(track) == 0) SetTextColor(hdc, GetSysColor(COLOR_GRAYTEXT));
|
if (this->document->clientRemap.count(document->getTrackIndexFromPos(track)) == 0) SetTextColor(hdc, GetSysColor(COLOR_GRAYTEXT));
|
||||||
else SetTextColor(hdc, GetSysColor(COLOR_WINDOWTEXT));
|
else SetTextColor(hdc, GetSysColor(COLOR_WINDOWTEXT));
|
||||||
TextOut(hdc,
|
TextOut(hdc,
|
||||||
fillRect.left, 0,
|
fillRect.left, 0,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user