Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update canvas upon dynamic changes on zoom or display scaling #483

Open
afonsobspinto opened this issue Feb 2, 2023 · 1 comment
Open
Labels
bug Something isn't working

Comments

@afonsobspinto
Copy link
Member

Dynamic changes on the canvas browser zoom / display scaling should re-trigger the calculation of the devicePixelRatio

@afonsobspinto afonsobspinto added the bug Something isn't working label Feb 2, 2023
@SimaoBolota-MetaCell
Copy link

  • For a viewer containing neurons, if the browser page moves to a different display, with different scaling, the viewers' labels are not in the correct position. If neurons are added to a new viewer whilst on that display, the labels appear correctly. On the other hand, if added to the same viewer the labels do not appear correctly. Example below:
Screen.Recording.2023-02-02.at.16.07.08.mov
  • Labels do not dynamically move to the correct position when the page zoom is changed. Example below:
Screen.Recording.2023-02-02.at.16.10.35.mov

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants