File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed
Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -699,11 +699,10 @@ void buildPolyscopeGui() {
699699 ensureWindowWidthsSet ();
700700
701701 // Create window
702- static bool showPolyscopeWindow = true ;
703702 ImGui::SetNextWindowPos (ImVec2 (internal::imguiStackMargin, internal::imguiStackMargin));
704703 ImGui::SetNextWindowSize (ImVec2 (internal::leftWindowsWidth, 0 .));
705704
706- ImGui::Begin (" Polyscope" , &showPolyscopeWindow );
705+ ImGui::Begin (" Polyscope" , nullptr );
707706
708707 if (ImGui::Button (" Reset View" )) {
709708 view::flyToHomeView ();
@@ -861,13 +860,11 @@ void buildStructureGui() {
861860 ensureWindowWidthsSet ();
862861
863862 // Create window
864- static bool showStructureWindow = true ;
865-
866863 ImGui::SetNextWindowPos (
867864 ImVec2 (internal::imguiStackMargin, internal::lastWindowHeightPolyscope + 2 * internal::imguiStackMargin));
868865 ImGui::SetNextWindowSize (ImVec2 (internal::leftWindowsWidth, view::windowHeight - internal::lastWindowHeightPolyscope -
869866 3 * internal::imguiStackMargin));
870- ImGui::Begin (" Structures" , &showStructureWindow );
867+ ImGui::Begin (" Structures" , nullptr );
871868
872869 // only show groups if there are any
873870 if (state::groups.size () > 0 ) {
You can’t perform that action at this time.
0 commit comments