1
Fork 0
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:
thankyouverycool 2022-03-17 08:56:02 -04:00 committed by Andreas Kling
parent 5c27ce2561
commit a3956da6dc
5 changed files with 99 additions and 108 deletions

View file

@ -17,7 +17,7 @@ set(SOURCES
NewFontDialog.cpp
NewFontDialogPage1GML.h
NewFontDialogPage2GML.h
UndoGlyph.h
UndoSelection.h
)
serenity_app(FontEditor ICON app-font-editor)