This version is out of date, covering development from v4.6.0 to v4.7.1. It is maintained here only for inbound reference links from elsewhere.
Jump to the current version of aTbRef.
|A Tinderbox Reference File : Misc. User Interface Aspects : Map view interface : Scrolling newly opened maps||aTbRef Site Map|
Scrolling newly opened maps
From v 4.5.0, the scrolling of new map views has been improved. Formerly, new map views automatically scrolled to place the first child in view.
Now, notes record their map scroll position in two attributes, MapScrollX and MapScrollY. These co-ordinates are floating-point numbers, and use the same relative co-ordinates as Xpos and Ypos. If a map view of a note is closed and later reopened, it will scroll to that map's most recently viewed position.
The scroll position is also reflected in the interior view of a note container viewport (as before an agent's contents are fixed). For a note container, data at MapScrollX and MapScrollY is drawn in the vertical/horizontal centre of the container viewport.
The "shadow" of the parent note is no longer drawn in map views, as this is always centred in the current display and so is no longer informative.
The viewport within a container can be moved via click-drag within the viewport area - dragging the map background scroll the child map, dragging an icon moves that icon on its own map..
|Up: Map view interface|
|Previous: Positioning newly dropped icons||Next: Selecting Prototype via Map icon|
Licensed under Creative Commons Attribution-Noncommercial-Share Alike 3.0 License
[See aTbRef CC licence Attribution/Waiver info info]