mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-29 16:54:35 +00:00
Scale scrollbar with DPI.
This commit is contained in:
parent
8eee82b0ce
commit
fe37c4ab80
@ -131,6 +131,7 @@ int main( int argc, char** argv )
|
|||||||
style.WindowBorderSize = 1.f * dpiScale;
|
style.WindowBorderSize = 1.f * dpiScale;
|
||||||
style.FrameBorderSize = 1.f * dpiScale;
|
style.FrameBorderSize = 1.f * dpiScale;
|
||||||
style.FrameRounding = 5.f * dpiScale;
|
style.FrameRounding = 5.f * dpiScale;
|
||||||
|
style.ScrollbarSize *= dpiScale;
|
||||||
style.Colors[ImGuiCol_WindowBg] = ImVec4( 0.11f, 0.11f, 0.08f, 0.94f );
|
style.Colors[ImGuiCol_WindowBg] = ImVec4( 0.11f, 0.11f, 0.08f, 0.94f );
|
||||||
style.Colors[ImGuiCol_ScrollbarBg] = ImVec4( 1, 1, 1, 0.03f );
|
style.Colors[ImGuiCol_ScrollbarBg] = ImVec4( 1, 1, 1, 0.03f );
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user