From e6c1c3c8ee1f837dfbe3bbff356a89d112ba8e4c Mon Sep 17 00:00:00 2001 From: Romain Goyet Date: Wed, 15 Jun 2016 10:31:05 +0200 Subject: [PATCH] Escher: Fix a comment Change-Id: I5c3561ee233ec047ffc704ab5c7394097d4b51a6 --- escher/src/scroll_view.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/escher/src/scroll_view.cpp b/escher/src/scroll_view.cpp index 433593b21..b153fa4c7 100644 --- a/escher/src/scroll_view.cpp +++ b/escher/src/scroll_view.cpp @@ -53,8 +53,8 @@ void ScrollView::layoutSubviews() { // Layout contentView KDRect contentFrame; contentFrame.origin = m_offset; - // We want contentFrame.rightX = verticalIndicatorFrame.x - 1; - // contentFrame.x + contentFrame.width = verticalIndicatorFrame.x - 1; + // We want contentFrame.rightX = verticalIndicatorFrame.x; + // contentFrame.x + contentFrame.width = verticalIndicatorFrame.x; contentFrame.width = verticalIndicatorFrame.x - contentFrame.x; contentFrame.height = m_frame.height; m_contentView->setFrame(contentFrame);