GraphiteEditor / GraphiteEditor/Graphite

Allow the Select tool to partially interact with artboards

Abierto
#3,108 2 comentarios 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
Rust
Estrellas
27.2k
Forks
1.3k
Merge medio
20 h 5 min
PR fusionados (30 d)
57

Descripción

Right now, the Select tool doesn't let you interact with artboards (except for one undesired side-effect: it visualizes the yellow pivot gizmo at the artboard center when an artboard is selected). Only the Artboard tool lets you, but we want to replicate some of the Artboard tool's features in the Select tool in certain states.

If an artboard is (or multiple are) selected (from the Layers panel), we want the Select tool to display the transform cage bounds gizmos that we currently have with the Artboard tool. If both an artboard and a non-artboard is selected, we filter out the artboard(s) and only show the selection for the non-artboards.

When multiple artboards are selected, dragging the combined transform cage bounds should scale all the selected artboards proportionally, just as with regular rectangle layers. The only difference is that we have to round to integer values since artboards must be integer-sized. Currently, the Artboard tool only draws bounds around the most recently selected artboard even if multiple are selected, so that needs to change for both the Artboard and Select tools.

Selecting an artboard should be possible by double-clicking its background (in a location where no inner content is covering up the artboard background) or by single-clicking the artboard title which is drawn at its top-left. Holding Shift in both cases should allow adding/removing to the selection of artboards. Single-clicking an artboard background with the Select tool active should deselect it, just as it does currently in Graphite.

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Línea de trabajo

Start by tracing the Select tool and Artboard tool interaction paths, including selection from the Layers panel and transform cage handling. Compare behavior for single and multiple artboards, mixed selections, double-clicks, title clicks, and Shift-modified clicks. Done means the described selection, bounds, proportional scaling, and integer sizing behavior works consistently in both tools.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
rust
Área
design
Tipo de issue
Nueva funcionalidad
Dificultad
4/5
Tiempo estimado
3-5 días
Estado de actividad
Estancado
Claridad
Bastante claro
Aptitud para principiantes
42/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.