mirror of
https://gitlab.aliens-lyon.fr/encartes/web-interface.git
synced 2026-03-17 22:51:04 +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';
|
||||
|
||||
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 }}>
|
||||
<Polygon positions={positions} key={element['id'] + color} color={'peru'} />
|
||||
</Pane>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user