mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-16 15:24:10 +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);
|
mRequestedWindowRect = .(workX + (workWidth - width)/2, workY + (workHeight - height)/2, width, height);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!loadedWorkspaceUserData)
|
||||||
|
CreateDefaultLayout();
|
||||||
|
|
||||||
//
|
//
|
||||||
{
|
{
|
||||||
BFWindow.Flags flags = .Border | .ThickFrame | .Resizable | .SysMenu |
|
BFWindow.Flags flags = .Border | .ThickFrame | .Resizable | .SysMenu |
|
||||||
|
@ -11247,9 +11250,6 @@ namespace IDE
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!loadedWorkspaceUserData)
|
|
||||||
CreateDefaultLayout();
|
|
||||||
|
|
||||||
UpdateTitle();
|
UpdateTitle();
|
||||||
mMainWindow.SetMinimumSize(GS!(480), GS!(360));
|
mMainWindow.SetMinimumSize(GS!(480), GS!(360));
|
||||||
mMainWindow.mIsMainWindow = true;
|
mMainWindow.mIsMainWindow = true;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue