Update and rename Menu/GameShell/97_Music Player/list_item.py to Menu/GameShell/95_Music Player/list_item.py

Sync Ver.200626
This commit is contained in:
hi80482 2020-07-03 16:00:04 +08:00 committed by GitHub
parent 76e8e75ee0
commit ea8b67e5a0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -127,7 +127,7 @@ class ListItem(object):
if self._PlayingProcess > 0:
seek_posx = int(self._Width * self._PlayingProcess/100.0)
pygame.draw.line(self._Parent._CanvasHWND,MySkinManager.GiveColor('Active'),(self._PosX,self._PosY+self._Height-2),(self._PosX+seek_posx,self._PosY+self._Height-2),2)
pygame.draw.line(self._Parent._CanvasHWND,MySkinManager.GiveColor('Text'),(self._PosX,self._PosY+self._Height-2),(self._PosX+seek_posx,self._PosY+self._Height-2),2)
else:
self._Labels["Text"].Draw()