Skip to content

Commit

Permalink
Force window resizing to recalculate better
Browse files Browse the repository at this point in the history
  • Loading branch information
matt-attack committed Sep 18, 2024
1 parent cf36078 commit f51dc56
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions gwen/src/Controls/WindowCanvas.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -408,6 +408,8 @@ void WindowCanvas::SetWindowSize(int x, int y)
Gwen::Platform::SetBoundsPlatformWindow( m_pOSWindow, m_WindowPos.x, m_WindowPos.y, width, height);

SetSize(x, y);
BaseClass::DoThink();
RenderCanvas();
}

void WindowCanvas::CloseButtonPressed()
Expand Down

0 comments on commit f51dc56

Please sign in to comment.