diff --git a/qt_ui/uiconstants.py b/qt_ui/uiconstants.py index 1d8291bd..c73777f8 100644 --- a/qt_ui/uiconstants.py +++ b/qt_ui/uiconstants.py @@ -59,6 +59,8 @@ COLORS: Dict[str, QColor] = { "orange": QColor(254, 125, 10), "night_overlay": QColor(12, 20, 69), "dawn_dust_overlay": QColor(46, 38, 85), + "white_transparent": QColor(255, 255, 255, 30), + "grey_transparent": QColor(150, 150, 150, 20), } CP_SIZE = 24 diff --git a/qt_ui/widgets/map/QLiberationMap.py b/qt_ui/widgets/map/QLiberationMap.py index d0f5f7e6..7a093a9a 100644 --- a/qt_ui/widgets/map/QLiberationMap.py +++ b/qt_ui/widgets/map/QLiberationMap.py @@ -157,7 +157,7 @@ class QLiberationMap(QGraphicsView): if unit.threat_range > max_range: max_range = unit.threat_range if has_radar: - scene.addEllipse(go_pos[0] - max_range/300.0 + 8, go_pos[1] - max_range/300.0 + 8, max_range/150.0, max_range/150.0, brush, brush) + scene.addEllipse(go_pos[0] - max_range/300.0 + 8, go_pos[1] - max_range/300.0 + 8, max_range/150.0, max_range/150.0, CONST.COLORS["white_transparent"], CONST.COLORS["grey_transparent"]) added_objects.append(ground_object.obj_name) for cp in self.game.theater.enemy_points():