Fix editor fullscreen mode (fixes #1303)

By initializing ToolBar
This commit is contained in:
def 2019-01-11 10:48:21 +01:00
parent f05c56d6ce
commit 8c4a26fa63

View file

@ -5518,8 +5518,10 @@ void CEditor::Render()
else
{
// hack to get keyboard inputs from toolbar even when GUI is not active
ToolBar.HSplitTop(53.0f, &ToolBar, 0);
ToolBar.Margin(-1000, &ToolBar);
ToolBar.x = -100;
ToolBar.y = -100;
ToolBar.w = 50;
ToolBar.h = 50;
}
// a little hack for now