mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 20:37:34 +00:00
FontEditor: Make undo/redo compatible with multi-glyph selections
Previously the glyph undo stack saved an array of bytes representing the restore state of an individual glyph when modified. Now the selection undo stack saves a byte buffer of the entire selection, letting us restore changes to multiple glyphs at once.
This commit is contained in:
parent
5c27ce2561
commit
a3956da6dc
5 changed files with 99 additions and 108 deletions
|
@ -17,7 +17,7 @@ set(SOURCES
|
|||
NewFontDialog.cpp
|
||||
NewFontDialogPage1GML.h
|
||||
NewFontDialogPage2GML.h
|
||||
UndoGlyph.h
|
||||
UndoSelection.h
|
||||
)
|
||||
|
||||
serenity_app(FontEditor ICON app-font-editor)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue