mirror of
https://gitlab.aliens-lyon.fr/encartes/web-interface.git
synced 2026-03-18 23:21:05 +01:00
Add comment
This commit is contained in:
parent
607cda808f
commit
ac263166fa
@ -176,6 +176,8 @@ function newPolygon(element, positions, selectedRoom, callbackRoomSelected, call
|
|||||||
const color = selectedRoom === element['id'] ? 'red' : 'grey';
|
const color = selectedRoom === element['id'] ? 'red' : 'grey';
|
||||||
|
|
||||||
if (element['type'] === 'C') { // Corridor
|
if (element['type'] === 'C') { // Corridor
|
||||||
|
// TODO create two global panes: one for the coridors, and the other for the
|
||||||
|
// other rooms
|
||||||
return <Pane style={{ zIndex: 500 }}>
|
return <Pane style={{ zIndex: 500 }}>
|
||||||
<Polygon positions={positions} key={element['id'] + color} color={'peru'} />
|
<Polygon positions={positions} key={element['id'] + color} color={'peru'} />
|
||||||
</Pane>
|
</Pane>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user