GraphiteEditor/Graphite

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

开放

#2,582 创建于 2025年4月16日

 (2 条评论) (0 个反应) (0 位负责人)Rust (1,176 个派生)batch import
Good First Issue

仓库指标

星标
 (25,662 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

  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.

贡献者指南