mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 07:38:10 +00:00
FontEditor: Simplify initialization by disabling widget callbacks
Reduces some complexity dealing with callback effects and fixes redundant calls to update_title and erroneously set glyph widths.
This commit is contained in:
parent
92fffc3abc
commit
ca6cb6cec3
3 changed files with 22 additions and 26 deletions
|
@ -24,7 +24,6 @@ void GlyphEditorWidget::initialize(Gfx::BitmapFont& mutable_font)
|
|||
return;
|
||||
m_font = mutable_font;
|
||||
set_relative_rect({ 0, 0, preferred_width(), preferred_height() });
|
||||
m_glyph = 0;
|
||||
}
|
||||
|
||||
void GlyphEditorWidget::set_glyph(int glyph)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue