mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 13:38:11 +00:00
FontEditor: Update the glyph map when changing a glyph's width.
This commit is contained in:
parent
f5c295ecc5
commit
b980c32662
2 changed files with 3 additions and 4 deletions
|
@ -108,6 +108,7 @@ FontEditorWidget::FontEditorWidget(const String& path, RetainPtr<Font>&& edited_
|
|||
width_spinbox->on_change = [this, update_demo] (int value) {
|
||||
m_edited_font->set_glyph_width(m_glyph_map_widget->selected_glyph(), value);
|
||||
m_glyph_editor_widget->update();
|
||||
m_glyph_map_widget->update_glyph(m_glyph_map_widget->selected_glyph());
|
||||
update_demo();
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue