From 2e849250eb799e99e50369a57eff4b0249e29b37 Mon Sep 17 00:00:00 2001 From: thankyouverycool <66646555+thankyouverycool@users.noreply.github.com> Date: Sun, 9 Jan 2022 12:50:36 -0500 Subject: FontEditor: Remove unnecessary call during GlyphEditor init GlyphEditor's relative rect is automatically set during layout. --- Userland/Applications/FontEditor/GlyphEditorWidget.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/Userland/Applications/FontEditor/GlyphEditorWidget.cpp b/Userland/Applications/FontEditor/GlyphEditorWidget.cpp index a4c9d68da1..3c1fe4315e 100644 --- a/Userland/Applications/FontEditor/GlyphEditorWidget.cpp +++ b/Userland/Applications/FontEditor/GlyphEditorWidget.cpp @@ -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) -- cgit v1.2.3