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

Fixed tiny tabbed view issue from file recovery

This commit is contained in:
Brian Fiete 2020-09-22 10:58:22 -07:00
parent 8af5575f42
commit cfe46abeaa
2 changed files with 9 additions and 3 deletions

View file

@ -2281,6 +2281,11 @@ namespace IDE
mMainFrame.RehupSize(); mMainFrame.RehupSize();
ShowStartupFile(); ShowStartupFile();
#if !CLI
if (mMainWindow != null)
mFileRecovery.CheckWorkspace();
#endif
} }
void CloseWorkspaceAndSetupNew() void CloseWorkspaceAndSetupNew()
@ -2602,9 +2607,6 @@ namespace IDE
#if !CLI #if !CLI
if (mBfResolveCompiler != null) if (mBfResolveCompiler != null)
mBfResolveCompiler.QueueSetWorkspaceOptions(null, 0); mBfResolveCompiler.QueueSetWorkspaceOptions(null, 0);
if (mMainWindow != null)
mFileRecovery.CheckWorkspace();
#endif #endif
String relaunchCmd = scope .(); String relaunchCmd = scope .();

View file

@ -6466,6 +6466,10 @@ namespace IDE.ui
mNavigationBar.mVisible = false; mNavigationBar.mVisible = false;
} }
// Always leave enough to read the first 3 lines
if (mHeight < GS!(88))
mHeight = GS!(88);
float splitterHeight = GS!(3); float splitterHeight = GS!(3);
float splitTopHeight = 0; float splitTopHeight = 0;