rect = pygame.Rect(upperLeftCorner, (columnWidth, dispHeight))
rects.append(rect)
rect = pygame.Rect(upperLeftCorner, (columnWidth, dispHeight))
rects.append(rect)
- # la dernière colonne a la largeur du reste
+ # la dernière colonne à la largeur du reste
upperLeftCorner = ((i+1) * columnWidth, 0)
rect = pygame.Rect(upperLeftCorner, (dispWidth - (self.keyboardLength - 1) * columnWidth , dispHeight))
rects.append(rect)
upperLeftCorner = ((i+1) * columnWidth, 0)
rect = pygame.Rect(upperLeftCorner, (dispWidth - (self.keyboardLength - 1) * columnWidth , dispHeight))
rects.append(rect)