mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-22 14:44:34 +00:00
Reset style.
This commit is contained in:
parent
40b9fe7dae
commit
2243b6e293
@ -182,8 +182,9 @@ static void SetupDPIScale( float scale, ImFont*& fixedWidth, ImFont*& bigFont, I
|
||||
{
|
||||
LoadFonts( scale, fixedWidth, bigFont, smallFont );
|
||||
|
||||
ImGui::StyleColorsDark();
|
||||
auto& style = ImGui::GetStyle();
|
||||
style = ImGuiStyle();
|
||||
ImGui::StyleColorsDark();
|
||||
style.WindowBorderSize = 1.f * scale;
|
||||
style.FrameBorderSize = 1.f * scale;
|
||||
style.FrameRounding = 5.f;
|
||||
|
Loading…
Reference in New Issue
Block a user