mirror of
				https://github.com/Drezil/imgui.git
				synced 2025-11-04 07:01:04 +01:00 
			
		
		
		
	This commit is contained in:
		@@ -1877,13 +1877,11 @@ void ImGui::ShowStyleEditor(ImGuiStyle* ref)
 | 
				
			|||||||
    // Simplified Settings
 | 
					    // Simplified Settings
 | 
				
			||||||
    if (ImGui::SliderFloat("FrameRounding", &style.FrameRounding, 0.0f, 12.0f, "%.0f")) 
 | 
					    if (ImGui::SliderFloat("FrameRounding", &style.FrameRounding, 0.0f, 12.0f, "%.0f")) 
 | 
				
			||||||
        style.GrabRounding = style.FrameRounding; // Make GrabRounding always the same value as FrameRounding
 | 
					        style.GrabRounding = style.FrameRounding; // Make GrabRounding always the same value as FrameRounding
 | 
				
			||||||
    bool window_border = (style.WindowBorderSize > 0.0f);
 | 
					    { bool window_border = (style.WindowBorderSize > 0.0f); if (ImGui::Checkbox("WindowBorder", &window_border)) style.WindowBorderSize = window_border ? 1.0f : 0.0f; }
 | 
				
			||||||
    if (ImGui::Checkbox("WindowBorder", &window_border))
 | 
					 | 
				
			||||||
        style.WindowBorderSize = window_border ? 1.0f : 0.0f;
 | 
					 | 
				
			||||||
    ImGui::SameLine();
 | 
					    ImGui::SameLine();
 | 
				
			||||||
    bool frame_border = (style.FrameBorderSize > 0.0f);
 | 
					    { bool frame_border = (style.FrameBorderSize > 0.0f); if (ImGui::Checkbox("FrameBorder", &frame_border)) style.FrameBorderSize = frame_border ? 1.0f : 0.0f; }
 | 
				
			||||||
    if (ImGui::Checkbox("FrameBorder", &frame_border))
 | 
					    ImGui::SameLine();
 | 
				
			||||||
        style.FrameBorderSize = frame_border ? 1.0f : 0.0f;
 | 
					    { bool popup_border = (style.PopupBorderSize > 0.0f); if (ImGui::Checkbox("PopupBorder", &popup_border)) style.PopupBorderSize = popup_border ? 1.0f : 0.0f; }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    // Save/Revert button
 | 
					    // Save/Revert button
 | 
				
			||||||
    if (ImGui::Button("Save Ref"))
 | 
					    if (ImGui::Button("Save Ref"))
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user