mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-23 15:50:49 +01:00
[escher/scroll_view] Mark maxContent...DisplayableWithoutScrolling() as const
This commit is contained in:
committed by
EmilieNumworks
parent
acecb92f75
commit
c439d6f376
@@ -126,14 +126,6 @@ void ScrollView::setContentOffset(KDPoint offset, bool forceRelayout) {
|
||||
}
|
||||
}
|
||||
|
||||
KDCoordinate ScrollView::maxContentWidthDisplayableWithoutScrolling() {
|
||||
return m_frame.width() - m_leftMargin - m_rightMargin;
|
||||
}
|
||||
|
||||
KDCoordinate ScrollView::maxContentHeightDisplayableWithoutScrolling() {
|
||||
return m_frame.height() - m_topMargin - m_bottomMargin;
|
||||
}
|
||||
|
||||
ScrollView::BarDecorator::BarDecorator() :
|
||||
m_verticalBar(),
|
||||
m_horizontalBar(),
|
||||
|
||||
Reference in New Issue
Block a user