NASA-AMMOS / NASA-AMMOS/plandev-ui
Make devicePixelRatio responsive for canvas rendering
Open
Nobody has claimed this yet.
feature
- Dominant language
- Svelte
- Stars
- 42
- Forks
- 14
- Avg merge
- 1d 16h
- Merged PRs (30d)
- 10
Description
The devicePixelRatio can change if you drag your window to a different monitor. We should detect this change and update our devicePixelRatio references when appropriate.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the canvas rendering code and every devicePixelRatio reference in the client application. Test behavior while moving the window between monitors, and consider the work done when rendering updates to the new device pixel ratio.
Written by the indexing model from the issue text.
Assessment
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100