Skip to content

Revamp window positioning from cookies #657

@joedolson

Description

@joedolson

Currently, if you adjust the position of a sign or transcript window, the new position is stored in a cookie on the domain. If you go to a different screen on the same domain where the player is in a different position, the windows will be in new locations.

This is because the cookie stores the position relative to the player, rather than relative to the viewport.

This leads to a few possible problems:

  • If your viewport changes, you may not be able to see the windows.
  • If a player is in a different position, windows may end up offscreen.

Keeping things relative to the player does make sense; but the cookie check should do more to check whether the window is being positioned off screen, and adjust to ensure that windows are always in the viewport when position is set from cookie.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions