GraphiteEditor/Graphite

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

Open

#2.582 geöffnet am 16. Apr. 2025

Auf GitHub ansehen
 (2 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)Rust (1.176 Forks)batch import
Good First Issue

Repository-Metriken

Stars
 (25.662 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 6T 9h) (65 gemergte PRs in 30 T)

Beschreibung

  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.

Contributor Guide