NASA-AMMOS / NASA-AMMOS/plandev-ui

Make devicePixelRatio responsive for canvas rendering

Open
#554 0 comments 0 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.