remove scrollbar from render window

This commit is contained in:
SweetId
2023-11-29 17:17:44 +05:30
parent bd4d1897f4
commit fa4cc84a31

View File

@@ -18,7 +18,7 @@ namespace NzEditor
{
Nz::EditorMainWindow::OnRenderImgui();
if (ImGui::Begin("MainWindow"))
if (ImGui::Begin("MainWindow", nullptr, ImGuiWindowFlags_NoScrollbar))
{
auto pos = ImGui::GetCursorPos();
auto size = ImGui::GetContentRegionAvail();