Add comment

This commit is contained in:
Adrien Vannson
2023-03-13 19:45:37 +01:00
parent 607cda808f
commit ac263166fa
+2
View File
@@ -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>