From 0476ad2efd37b2ac6cf25e5f73e2e083ae174288 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Tue, 21 Jan 2025 11:01:12 +0800 Subject: [PATCH] make servo visible by default --- sndlock.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sndlock.cpp b/sndlock.cpp index 572c8f0..f269d89 100644 --- a/sndlock.cpp +++ b/sndlock.cpp @@ -316,7 +316,7 @@ int main(int argc, char* argv[]) std::atexit(glfwTerminate); glfwWindowHint(GLFW_CONTEXT_VERSION_MAJOR, 3); glfwWindowHint(GLFW_CONTEXT_VERSION_MINOR, 0); - static GLFWwindow *window = glfwCreateWindow(1024, 1200, "Soundlocker", nullptr, nullptr); + static GLFWwindow *window = glfwCreateWindow(1024, 1370, "Soundlocker", nullptr, nullptr); if(window == nullptr) { std::cerr << "failed to create GLFW window\n"; return 1; @@ -481,7 +481,7 @@ int main(int argc, char* argv[]) } } - if(ImGui::CollapsingHeader("Laser servo")) { + if(ImGui::CollapsingHeader("Laser servo", ImGuiTreeNodeFlags_DefaultOpen)) { for(int i=0;i