Skip to content

Drawing a shape at non-100% viewport zoom wrongly applies the scale to the Transform node not the shape #2582

Open

Description

@Keavon
  1. Zoom out so you're not at 100% viewport zoom.
  2. Draw a rectangle.
  3. Notice the Transform node has a scale value other than 1 corresponding to the zoom level of the viewport.
  4. This should be 1 and the viewport zoom should have been applied to the calculation of the rectangle dimensions instead.

This occurs with Rectangle, Ellipse, Polygon, and Star— but not Line.

Activity

  1. added theissue type on Apr 16, 2025
  2. 0HyperCube commented on Apr 16, 2025

    @0HyperCube
    Contributor

    This is desired behaviour. Otherwise rotating the viewport will cause the layers to be rotated. See #2422.

  3. moved this from Short-Term to Completed This Milestone in Task Boardon Apr 16, 2025
  4. Keavon commented on Apr 16, 2025

    @Keavon
    MemberAuthor

    Ah, that makes sense why it ended up that way. But this does still need to be fixed— rotation (from viewport tilt) just needs to be handled separately from scale (from viewport zoom).

  5. reopened this on Apr 16, 2025
  6. moved this from Completed This Milestone to Short-Term in Task Boardon Apr 16, 2025
  7. Anurag-S1ngh commented on Oct 21, 2026

    @Anurag-S1ngh
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

    Type

    Projects

    • Status
      Short-Term

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions