1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 16:17:45 +00:00

FontEditor: Restore selections on undo/redo actions

This makes navigating undo history a lot easier to follow.
Individual glyph alterations now reset selection size if necessary
to save space.
This commit is contained in:
thankyouverycool 2022-03-19 08:52:26 -04:00 committed by Andreas Kling
parent df443863bd
commit 212817ea20
3 changed files with 60 additions and 19 deletions

View file

@ -60,6 +60,8 @@ private:
void paste_glyphs();
void delete_selected_glyphs();
void reset_selection_and_push_undo();
RefPtr<Gfx::BitmapFont> m_edited_font;
RefPtr<GUI::GlyphMapWidget> m_glyph_map_widget;