summaryrefslogtreecommitdiff
path: root/Userland/DevTools/Profiler
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2021-05-25 19:03:06 +0200
committerAndreas Kling <kling@serenityos.org>2021-05-25 19:04:17 +0200
commite6f8a5111f51c9ca4aa8c25681a79117f97b9d1f (patch)
tree00eab9388ea8e843f9650c49e27598e3eaa052cf /Userland/DevTools/Profiler
parent2de913953277659db688e82651541649256e43b0 (diff)
downloadserenity-e6f8a5111f51c9ca4aa8c25681a79117f97b9d1f.zip
Profiler: Hide timeline scrollbars if we don't need them :^)
Diffstat (limited to 'Userland/DevTools/Profiler')
-rw-r--r--Userland/DevTools/Profiler/TimelineContainer.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/Userland/DevTools/Profiler/TimelineContainer.cpp b/Userland/DevTools/Profiler/TimelineContainer.cpp
index b56303ec3c..0dd3a0d936 100644
--- a/Userland/DevTools/Profiler/TimelineContainer.cpp
+++ b/Userland/DevTools/Profiler/TimelineContainer.cpp
@@ -12,6 +12,7 @@ namespace Profiler {
TimelineContainer::TimelineContainer(GUI::Widget& header_container, TimelineView& timeline_view)
{
+ set_should_hide_unnecessary_scrollbars(true);
m_header_container = header_container;
m_timeline_view = timeline_view;
add_child(header_container);