mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
adjust map colors
This commit is contained in:
parent
d994673e91
commit
df2659787c
@ -59,8 +59,8 @@ COLORS: Dict[str, QColor] = {
|
|||||||
"orange": QColor(254, 125, 10),
|
"orange": QColor(254, 125, 10),
|
||||||
"night_overlay": QColor(12, 20, 69),
|
"night_overlay": QColor(12, 20, 69),
|
||||||
"dawn_dust_overlay": QColor(46, 38, 85),
|
"dawn_dust_overlay": QColor(46, 38, 85),
|
||||||
"white_transparent": QColor(255, 255, 255, 30),
|
"white_transparent": QColor(255, 255, 255, 35),
|
||||||
"grey_transparent": QColor(150, 150, 150, 20),
|
"grey_transparent": QColor(150, 150, 150, 30),
|
||||||
}
|
}
|
||||||
|
|
||||||
CP_SIZE = 24
|
CP_SIZE = 24
|
||||||
|
|||||||
@ -96,9 +96,6 @@ class QMapControlPoint(QGraphicsRectItem):
|
|||||||
|
|
||||||
@property
|
@property
|
||||||
def pen_color(self) -> QColor:
|
def pen_color(self) -> QColor:
|
||||||
if self.parent.game.player_country in db.BLUEFOR_FACTIONS:
|
|
||||||
return self.model.captured and CONST.COLORS["white"] or CONST.COLORS["white"]
|
|
||||||
else:
|
|
||||||
return self.model.captured and CONST.COLORS["white"] or CONST.COLORS["white"]
|
return self.model.captured and CONST.COLORS["white"] or CONST.COLORS["white"]
|
||||||
|
|
||||||
def openBaseMenu(self):
|
def openBaseMenu(self):
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user