GraphiteEditor / GraphiteEditor/Graphite

Nudges in the same direction should be combined in history

Aperta
#2,617 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
Architecture Paper Cut
Lingua principale
Rust
Stelle
27.2k
Fork
1.3k
Merge medio
20h 5m
PR unite (30g)
57

Descrizione

Any number of nudges (with the arrow key) in the same direction should be combined into the same history step. So if you nudge 53px to the right with Shift+right arrow 5 times and right arrow 3 times, we should be able to use undo one instead of 8 times to return to where we were. Then switching directions (or doing anything else that creates a history step) should become a new point in history.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Direzione di ricerca

No file, test, or entry point is named. Start by locating the arrow-key nudge handling and the history or undo implementation, then verify that consecutive nudges in one direction—including mixed Shift and unmodified nudges—undo as one step, while a direction change or other history-producing action starts a new step.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
rust
Ambito
computer-graphics
Tipo di issue
Funzionalità
Difficoltà
3/5
Tempo stimato
1-2 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
45/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.