Merge pull request #5069 from vitor-k/min-window2

Update minimum window size based on current layout
This commit is contained in:
James Rowe 2020-02-08 12:46:20 -07:00 committed by GitHub
commit 17e9522921
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 58 additions and 3 deletions

View file

@ -389,6 +389,7 @@ void GRenderWindow::InitRenderTarget() {
core_context = CreateSharedContext();
resize(Core::kScreenTopWidth, Core::kScreenTopHeight + Core::kScreenBottomHeight);
OnMinimalClientAreaChangeRequest(GetActiveConfig().min_client_area_size);
OnFramebufferSizeChanged();
BackupGeometry();
}