change building color
This commit is contained in:
parent
17faf9ce05
commit
a87b6d79ac
2 changed files with 2 additions and 2 deletions
|
@ -191,7 +191,7 @@ class EditorViewSet(ViewSet):
|
|||
@list_route(methods=['get'])
|
||||
def geometrystyles(self, request, *args, **kwargs):
|
||||
return Response({
|
||||
'building': '#929292',
|
||||
'building': '#aaaaaa',
|
||||
'space': '#eeeeee',
|
||||
'hole': 'rgba(255, 0, 0, 0.3)',
|
||||
'door': '#ffffff',
|
||||
|
|
|
@ -161,7 +161,7 @@ class Level(SpecificLocation, models.Model):
|
|||
self._render_space_inventory(svg, space)
|
||||
|
||||
# draw walls
|
||||
svg.add_geometry(wall_geometry, fill_color='#929292')
|
||||
svg.add_geometry(wall_geometry, fill_color='#aaaaaa')
|
||||
|
||||
# draw doors
|
||||
door_geometries = cascaded_union(tuple(d.geometry for d in doors))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue