GraphiteEditor / GraphiteEditor/Graphite

Refactor widget components to call history transaction messages

Offen
#3,478 0 Kommentare 0 Reaktionen 1 zugewiesene Person Beansprucht von @Keavon Auf GitHub ansehen
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.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.