Starts work and layout on issue #9 where we needed to move event listeners to main.js. still needs to be worked on more (specifically with FloorItem.vue and MapItem.vue) by moving the "resize" event listener to main.js and referencing it using watch functions
Changes also tie into work done on issue #10 , where I made it so past a threshold of 1:1, the popup when clicking on a building goes vertical and the animation slides off to the left instead of downwards. The effect of changing the aspect ratio is also reversible, so you can go from vertical to horizontal formats without issues after initial loading. The html template itself for the popup has not been changed, so the text may go out of the box slightly on mobile devices.
Good idea with the vertical/horizontal change. I can play around with the popup sizing and placement for different aspect ratios on my own and see what feels best.
Starts work and layout on issue #9 where we needed to move event listeners to main.js. still needs to be worked on more (specifically with FloorItem.vue and MapItem.vue) by moving the "resize" event listener to main.js and referencing it using watch functions
Changes also tie into work done on issue #10 , where I made it so past a threshold of 1:1, the popup when clicking on a building goes vertical and the animation slides off to the left instead of downwards. The effect of changing the aspect ratio is also reversible, so you can go from vertical to horizontal formats without issues after initial loading. The html template itself for the popup has not been changed, so the text may go out of the box slightly on mobile devices.