mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-27 01:29:58 +01:00
[escher/scroll_view] Rename m_indicatorThickness to m_barsFrameBreadth
This commit is contained in:
committed by
EmilieNumworks
parent
81f80ef602
commit
1e958717fb
@@ -148,17 +148,17 @@ KDCoordinate ScrollView::maxContentHeightDisplayableWithoutScrolling() {
|
||||
ScrollView::Decorator::Decorator() :
|
||||
m_verticalBar(),
|
||||
m_horizontalBar(),
|
||||
m_indicatorThickness(20)
|
||||
m_barsFrameBreadth(20)
|
||||
{
|
||||
}
|
||||
|
||||
void ScrollView::Decorator::layoutIndicators(KDSize content, KDPoint offset, KDSize frame) {
|
||||
KDCoordinate hBarFrameBreadth = m_indicatorThickness * m_horizontalBar.update(
|
||||
KDCoordinate hBarFrameBreadth = m_barsFrameBreadth * m_horizontalBar.update(
|
||||
content.width(),
|
||||
offset.x(),
|
||||
frame.width()
|
||||
);
|
||||
KDCoordinate vBarFrameBreadth = m_indicatorThickness * m_verticalBar.update(
|
||||
KDCoordinate vBarFrameBreadth = m_barsFrameBreadth * m_verticalBar.update(
|
||||
content.height(),
|
||||
offset.y(),
|
||||
frame.height()
|
||||
|
||||
Reference in New Issue
Block a user