mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-22 07:10:40 +01:00
[escher] Correct bug: update the subview layout when resizing the content view
Change-Id: I5941ca52d2b53332ab6d4cd03312862e9f48c71c
This commit is contained in:
@@ -112,8 +112,10 @@ void ScrollView::updateScrollIndicator() {
|
||||
}
|
||||
|
||||
void ScrollView::setContentOffset(KDPoint offset) {
|
||||
m_offset = offset;
|
||||
layoutSubviews();
|
||||
if (offset != m_offset) {
|
||||
m_offset = offset;
|
||||
layoutSubviews();
|
||||
}
|
||||
}
|
||||
|
||||
KDPoint ScrollView::contentOffset() {
|
||||
|
||||
Reference in New Issue
Block a user