FontEditor: Remove unnecessary call during GlyphEditor init

GlyphEditor's relative rect is automatically set during layout.
This commit is contained in:
thankyouverycool 2022-01-09 12:50:36 -05:00 committed by Andreas Kling
commit 2e849250eb
Notes: sideshowbarker 2024-07-17 20:44:37 +09:00

View file

@ -22,7 +22,6 @@ void GlyphEditorWidget::initialize(Gfx::BitmapFont& mutable_font)
if (m_font == mutable_font)
return;
m_font = mutable_font;
set_relative_rect({ 0, 0, preferred_width(), preferred_height() });
}
void GlyphEditorWidget::set_glyph(int glyph)