Saved Zoom Points

so just to make sure there’s no ambiguity this is my understanding of specifically what should happen in the following scenario:

  1. page loads
  2. ‘z’ causes page to zoom out to 20%
  3. zoomAndScrollPosition (x=0, zoom=20%) is saved
  4. user scrolls to x=50 or adjusts the zoom from 20% to 40%
  5. the new zoomAndScrollPosition is saved (x=50, zoom=40%)
  6. user presses ‘z’
  7. the view zooms to 100%
  8. the user scrolls to x=100
  9. the user zooms out to 80% with ctrl -
  10. the new zoomAndScrollPosition is saved (x=100, zoom=80%)
  11. the user presses ‘z’
  12. the view zooms to 100%
  13. the user presses ‘z’
  14. the zoom and scroll position is set to zoomAndScrollPosition (x=100, zoom=80%)

does this sound correct?

I see where the confusion is. I’m picturing two distinct zoomAndScrollPosition variables which can be toggled between with z and edited by making any changes while on one or the other. For example:

  1. page loads with default variables, zoomAndScrollPositionA (x=0, zoom=100%) & zoomAndScrollPositionB (x=0, zoom=20%)
  2. ‘z’ causes page to toggle to zoomAndScrollPositionB (x=0, zoom=20%)
  3. user scrolls to x=100 and zooms to 50%
  4. the new zoomAndScrollPositionB is set at x=100, zoom=50%
  5. ‘z’ causes page to toggle to zoomAndScrollPositionA (x=1, zoom=100%)
  6. user scrolls to x=500 and zooms to 90%
  7. the new zoomAndScrollPositionA is set at x=500, zoom to 90%
  8. and so on…
  9. at this point, if the user only hits ‘z’ over and over it just toggles between the last saved zoomAndScrollPositionA and zoomAndScrollPositionB, until user zooms or scrolls again
1 Like

I’ll think about it , but I think this behaviour would be too confusing and chaotic feeling unless you 1. already knew about it And 2. were paying very close attention to your scrolling.

#1 is unlikely for most people because it’s such an unconventional interaction (eg updating keyboard shortcut behaviour based on scroll behavior) , and #2 seems mentally onerous irl.

To address the root issue, I’m making some improvements to boxes in minimap so you’ll be able to better use these as position anchors : Jump to Box Zooms to Fit - #4 by pirijan

Okay! Will play with the new minimap changes and see if that does the trick…

1 Like

shipped

1 Like