GraphiteEditor/Graphite

Path tool dragging, then pressing Shift to constrain horiz./vert., should begin from a snapping point

开放

#2,753 创建于 2025年6月25日

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

仓库指标

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

描述

At the beginning of this video, I add Shift to the drag and it correctly performs the horizontal/vertical snapping from its original drag location. But in the second half of the video, I demonstrate a use case where this feature is desired: when the point is dragged such that it snaps over another point, then Shift is pressed at that time, we would like that snapped point to become the source of the horizontal/vertical constraint. Releasing Shift and pressing it again while not snapped should retain its current behavior of constraining relative to the point where the drag began. As shown in the video, this feature would make it very easy to keep the top point aligned to the same X coordinate as the bottom point.

https://github.com/user-attachments/assets/e59f5531-8b8a-4a18-a5ab-520fef992aa8

贡献者指南