Map ui design updated

This commit is contained in:
Donnie
2020-06-28 01:06:02 -04:00
parent 8d32ba5b8e
commit 9a799190ef
3 changed files with 18 additions and 15 deletions

View File

@@ -97,9 +97,9 @@ class QMapControlPoint(QGraphicsRectItem):
@property
def pen_color(self) -> QColor:
if self.parent.game.player_country in db.BLUEFOR_FACTIONS:
return self.model.captured and CONST.COLORS["dark_blue"] or CONST.COLORS["bright_red"]
return self.model.captured and CONST.COLORS["white"] or CONST.COLORS["white"]
else:
return self.model.captured and CONST.COLORS["bright_red"] or CONST.COLORS["dark_blue"]
return self.model.captured and CONST.COLORS["white"] or CONST.COLORS["white"]
def openBaseMenu(self):
self.baseMenu = QBaseMenu2(self.window(), self.model, self.game)