GraphiteEditor / GraphiteEditor/Graphite

Refactor widget components to call history transaction messages

Aperta
#3,478 0 commenti 0 reazioni 1 assegnatario Rivendicata da @Keavon Vedi su GitHub
Web
Lingua principale
Rust
Stelle
27.2k
Fork
1.3k
Merge medio
20h 5m
PR unite (30g)
57

Descrizione

Currently, the Svelte widget components just call "update" and "commit" which is a lossy simplification of the history system, and fails in the case of changing fonts and mapping old font styles to the supported styles of the new font because it produces an extra unavoidable history step.

Instead, we should call "update" plus each of the four(?) history events from the relevant components, particularly those where ongoing interaction can occur like number dragging and dropdown selection.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.