GraphiteEditor / GraphiteEditor/Graphite
Refactor widget components to call history transaction messages
Offen
Web
- Vorherrschende Sprache
- Rust
- Sterne
- 27.2k
- Forks
- 1.3k
- Ø Merge
- 20 Std. 5 Min.
- Gemergte PRs (30 T.)
- 57
Beschreibung
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.
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Bewertung
Dieses Issue wurde noch nicht bewertet.