mirror of
https://github.com/brunoherbelin/vimix.git
synced 2025-12-11 18:34:58 +01:00
BugFix missing window size for Shader Editor
This commit is contained in:
@@ -133,7 +133,7 @@ void ShaderEditWindow::Render()
|
|||||||
"Text files",
|
"Text files",
|
||||||
{"*.glsl", "*.txt"} );
|
{"*.glsl", "*.txt"} );
|
||||||
|
|
||||||
ImGui::SetWindowSize(ImVec2(800, 600), ImGuiCond_FirstUseEver);
|
ImGui::SetNextWindowSize(ImVec2(800, 600), ImGuiCond_FirstUseEver);
|
||||||
|
|
||||||
if ( !ImGui::Begin(name_, &Settings::application.widget.shader_editor,
|
if ( !ImGui::Begin(name_, &Settings::application.widget.shader_editor,
|
||||||
ImGuiWindowFlags_NoScrollbar | ImGuiWindowFlags_MenuBar | ImGuiWindowFlags_NoTitleBar | ImGuiWindowFlags_NoCollapse ))
|
ImGuiWindowFlags_NoScrollbar | ImGuiWindowFlags_MenuBar | ImGuiWindowFlags_NoTitleBar | ImGuiWindowFlags_NoCollapse ))
|
||||||
|
|||||||
Reference in New Issue
Block a user