mirror of
https://github.com/RGBCube/serenity
synced 2025-07-24 14:07:43 +00:00
FontEditor: Remove unnecessary call during GlyphEditor init
GlyphEditor's relative rect is automatically set during layout.
This commit is contained in:
parent
ff42ad88ee
commit
2e849250eb
1 changed files with 0 additions and 1 deletions
|
@ -22,7 +22,6 @@ void GlyphEditorWidget::initialize(Gfx::BitmapFont& mutable_font)
|
||||||
if (m_font == mutable_font)
|
if (m_font == mutable_font)
|
||||||
return;
|
return;
|
||||||
m_font = mutable_font;
|
m_font = mutable_font;
|
||||||
set_relative_rect({ 0, 0, preferred_width(), preferred_height() });
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void GlyphEditorWidget::set_glyph(int glyph)
|
void GlyphEditorWidget::set_glyph(int glyph)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue