The picker no longer works as expected.
The -2 was added so that the default level is no longer the basement of the I building.
But as soon as you filter the rooms, the index is wrong and the overlay is no longer displayed by default.
A function must be written so that the first floor is selected by default, taking into account any available basements and the search results.
The picker no longer works as expected. The
-2
was added so that the default level is no longer the basement of the I building. But as soon as you filter the rooms, the index is wrong and the overlay is no longer displayed by default.A function must be written so that the first floor is selected by default, taking into account any available basements and the search results.
https://github.com/neuland-ingolstadt/neuland.app/blob/e052d731f81a3763e5d36357894205b5465bee72/rogue-thi-app/components/RoomMap.jsx#L338
Alternately we could just remove the basement of building I