summaryrefslogtreecommitdiff
path: root/Userland/Applications/FontEditor/GlyphEditorWidget.cpp
diff options
context:
space:
mode:
authorthankyouverycool <66646555+thankyouverycool@users.noreply.github.com>2022-01-09 12:50:36 -0500
committerAndreas Kling <kling@serenityos.org>2022-01-16 21:36:39 +0100
commit2e849250eb799e99e50369a57eff4b0249e29b37 (patch)
tree08373d93cdba4643bbe325e057c683abe590d71a /Userland/Applications/FontEditor/GlyphEditorWidget.cpp
parentff42ad88eec53adac4da16866dff2306677d5be7 (diff)
downloadserenity-2e849250eb799e99e50369a57eff4b0249e29b37.zip
FontEditor: Remove unnecessary call during GlyphEditor init
GlyphEditor's relative rect is automatically set during layout.
Diffstat (limited to 'Userland/Applications/FontEditor/GlyphEditorWidget.cpp')
-rw-r--r--Userland/Applications/FontEditor/GlyphEditorWidget.cpp1
1 files changed, 0 insertions, 1 deletions
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)