From 4aea9a3757fe7998f6b362c24f3592590004bfc8 Mon Sep 17 00:00:00 2001 From: itsmattkc Date: Tue, 17 Nov 2020 00:20:56 +1100 Subject: [PATCH] timeline: pad by full width rather than half width --- app/widget/timelinewidget/view/timelineviewbase.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/widget/timelinewidget/view/timelineviewbase.cpp b/app/widget/timelinewidget/view/timelineviewbase.cpp index b42978e26..883937a2d 100644 --- a/app/widget/timelinewidget/view/timelineviewbase.cpp +++ b/app/widget/timelinewidget/view/timelineviewbase.cpp @@ -246,7 +246,7 @@ void TimelineViewBase::UpdateSceneRect() bounding_rect.setLeft(0); // Ensure the scene is always the full length of the timeline with a gap at the end to work with - bounding_rect.setRight(TimeToScene(end_time_) + width() / 2); + bounding_rect.setRight(TimeToScene(end_time_) + width()); // Any further rect processing from derivatives can be done here SceneRectUpdateEvent(bounding_rect);