Skip to content
This repository was archived by the owner on Jun 18, 2025. It is now read-only.
This repository was archived by the owner on Jun 18, 2025. It is now read-only.

Pixel size setting can misalign canvas #305

Description

@TodePond

I can repro like this. Probably device dependent. MacOS Chrome. My screen as 2 DPI.

  1. Make sure your pixel size setting is set to 1.
  2. Put a rectangle on the screen, eg:
shape().out()
  1. Make sure it's visible and in the middle of the screen.
  2. Change the pixel size setting to 2.

Expected: Rectangle is still within the middle of the screen.
Actual: Rectangle is not visible.

Interestingly, this works fine:

shape().scrollX(0).out()

Will investigate this further!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions