From 645f312166282996d16f9931c1e4abd9481cfb43 Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Sat, 21 Apr 2018 14:16:49 +0200 Subject: [PATCH] Enable imgui frame rounding. --- standalone/src/main.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/standalone/src/main.cpp b/standalone/src/main.cpp index 31169be3..8d197ff8 100644 --- a/standalone/src/main.cpp +++ b/standalone/src/main.cpp @@ -71,6 +71,7 @@ int main( int argc, char** argv ) auto& style = ImGui::GetStyle(); style.WindowBorderSize = 1.f; style.FrameBorderSize = 1.f; + style.FrameRounding = 5.f; style.Colors[ImGuiCol_WindowBg] = ImVec4( 0.11f, 0.11f, 0.08f, 0.94f ); style.Colors[ImGuiCol_ScrollbarBg] = ImVec4( 1, 1, 1, 0.03f );