Vacansee / app

Predicting campus occupancy and room availability @ RPI
https://vacansee.github.io/app
GNU General Public License v3.0
12 stars 0 forks source link

Maximize Map Size #43

Closed BoundlessFate closed 9 months ago

BoundlessFate commented 10 months ago

Made a few changes with this PR.

  1. Added a global variable flipScreen as a global threshold for when the screen should flip from horizontal to vertical mode and vice versa
  2. New formulas for the map sizing and movement. Should scale nicer with windows with more extreme resolutions (very wide, or very thin)
  3. Adjusted the distance the popup goes off to the left on when a building is deselected. Due to the addition of a minimum width, it was clipping onto the view when it shouldve been off the screen, so the distance off was changed from 33vw to 50vw.
Acumane commented 9 months ago

Works very well! But floor zoom broke (during your merging from dev)