mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-18 21:30:38 +01:00
Escher: Proper ScrollView offset
Change-Id: I163a5ad4290d662b8d49e034710a8418abc6de4f
This commit is contained in:
@@ -52,7 +52,8 @@ void ScrollView::layoutSubviews() {
|
||||
|
||||
// Layout contentView
|
||||
KDRect contentFrame;
|
||||
contentFrame.origin = m_offset;
|
||||
contentFrame.x = -m_offset.x;
|
||||
contentFrame.y = -m_offset.y;
|
||||
// We want contentFrame.rightX = verticalIndicatorFrame.x;
|
||||
// contentFrame.x + contentFrame.width = verticalIndicatorFrame.x;
|
||||
contentFrame.width = verticalIndicatorFrame.x - contentFrame.x;
|
||||
|
||||
Reference in New Issue
Block a user