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:
parent
1e52dce7c4
commit
a7183ad803
1 changed files with 3 additions and 3 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue