mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-21 14:50:44 +01:00
[escher] TextField: force layout after scroll reload when the content
size of scrollview might have changed
This commit is contained in:
committed by
EmilieNumworks
parent
4af6e71e21
commit
2b0b40d6d6
@@ -43,9 +43,9 @@ bool ScrollableView::handleEvent(Ion::Events::Event event) {
|
||||
return false;
|
||||
}
|
||||
|
||||
void ScrollableView::reloadScroll() {
|
||||
void ScrollableView::reloadScroll(bool forceReLayout) {
|
||||
m_manualScrollingOffset = KDPointZero;
|
||||
setContentOffset(m_manualScrollingOffset);
|
||||
setContentOffset(m_manualScrollingOffset, forceReLayout);
|
||||
}
|
||||
|
||||
void ScrollableView::layoutSubviews() {
|
||||
|
||||
Reference in New Issue
Block a user