mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-02-24 00:24:38 +00:00
LibGfx: Unpublish Gfx::Size from the global namespace
This commit is contained in:
@@ -53,7 +53,7 @@ void QSWidget::set_bitmap(NonnullRefPtr<Gfx::Bitmap> bitmap)
|
||||
|
||||
void QSWidget::relayout()
|
||||
{
|
||||
Size new_size;
|
||||
Gfx::Size new_size;
|
||||
float scale_factor = (float)m_scale / 100.0f;
|
||||
new_size.set_width(m_bitmap->width() * scale_factor);
|
||||
new_size.set_height(m_bitmap->height() * scale_factor);
|
||||
|
||||
Reference in New Issue
Block a user