main_screen msgbox color fix

This commit is contained in:
cuu 2019-05-05 17:06:57 +08:00
parent 8f55eea7cf
commit b9e890137c

View File

@ -110,7 +110,7 @@ class MessageBox(Label):
#self._HWND.blit(self._CanvasHWND,rect) #self._HWND.blit(self._CanvasHWND,rect)
if withborder == True: if withborder == True:
pygame.draw.rect(self._HWND,MySkinManager.GiveColor('Black'),(x_-padding,y_-padding, self._Width+padding*2,self._Height+padding*2),1) pygame.draw.rect(self._HWND,MySkinManager.GiveColor('Text'),(x_-padding,y_-padding, self._Width+padding*2,self._Height+padding*2),1)
def Draw(self): def Draw(self):
x = (self._Parent._Width)/2 x = (self._Parent._Width)/2