1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-13 00:25:19 +02:00

Formspec: fix clamped scroll offset of scroll_containers larger than 1000px

This commit is contained in:
SmallJoker
2025-03-30 18:15:38 +02:00
committed by GitHub
parent 882f132062
commit 309c0a0cb6
6 changed files with 11 additions and 10 deletions

View File

@@ -92,8 +92,6 @@ void GUIScrollContainer::setScrollBar(GUIScrollBar *scrollbar)
m_scrollbar->setPageSize((total_content_px * scrollbar_px) / visible_content_px);
}
updateScrolling();
}
void GUIScrollContainer::updateScrolling()