GraphiteEditor / GraphiteEditor/Graphite

Guide lines

Open
#2,601 4 comments 3 reactions 0 assignees View on GitHub
Good First Issue
Dominant language
Rust
Stars
27.2k
Forks
1.3k
Avg merge
20h 5m
Merged PRs (30d)
57

Description

Drag from a ruler to create a horizontal or vertical guide line. (Drag it back into the ruler to delete it.) This is positioned in document space. *View* > *Guides* should go next to the existing *View* > *Rulers* menu to toggle their visibility. Snapping works with them like they're a line (just without endpoints, since guide lines are infinitely long). Like everything else that you can drag in Graphite, Esc and right-click cancel a drag, putting it back where it began (or deleting it if this was just brought into existence by dragging out of a ruler).

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the existing ruler implementation and the View > Rulers menu, then trace how dragging and snapping are handled in document space. Check the relevant view and interaction tests, if present. Done means guides can be created and deleted from rulers, toggled through View > Guides, participate in snapping, and cancel correctly with Esc or right-click.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
computer-graphics, design
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.