1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 14:28:12 +00:00

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
parent ff42ad88ee
commit 2e849250eb

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)