1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-15 23:04:09 +02:00

Properly use last window position when opening IDE

This commit is contained in:
Brian Fiete 2021-01-26 11:06:48 -08:00
parent 1e52dce7c4
commit a7183ad803

View file

@ -11220,6 +11220,9 @@ namespace IDE
mRequestedWindowRect = .(workX + (workWidth - width)/2, workY + (workHeight - height)/2, width, height);
}
if (!loadedWorkspaceUserData)
CreateDefaultLayout();
//
{
BFWindow.Flags flags = .Border | .ThickFrame | .Resizable | .SysMenu |
@ -11247,9 +11250,6 @@ namespace IDE
}
}
if (!loadedWorkspaceUserData)
CreateDefaultLayout();
UpdateTitle();
mMainWindow.SetMinimumSize(GS!(480), GS!(360));
mMainWindow.mIsMainWindow = true;