Skip to content

Store Street View sidepanel's width after resizing #4

@Glodenox

Description

@Glodenox

With the recent addition to resize the sidepanel that contains the Street View imagery it would make sense to also store this position over sessions with a local storage variable. Right now it always defaults to just 50% of the width.

Things to account for:

  • window resizing (store data as a percentage value instead?)
  • listener might disappear when the WME enters another mode and the sidepanel gets regenerated
  • either don't store the data on each trigger or make sure storing the data is very lightweight as there might be a lot of triggers while dragging the panel
  • make sure that the street view pane doesn't need some sort of trigger so it knows it has been resized (check the Waze or Google code for this)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions