mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-21 14:50:44 +01:00
[escher/scroll_view] Remove setColorsBackground
Introduced in commit37da7b95ato avoid screen tearing. Not necessary anymore since commit0e9092d2e.
This commit is contained in:
committed by
EmilieNumworks
parent
538d5cce64
commit
fd654d1c79
@@ -18,7 +18,6 @@ ScrollView::ScrollView(View * contentView, ScrollViewDataSource * dataSource) :
|
||||
m_decorator(),
|
||||
m_barDecorator(),
|
||||
m_arrowDecorator(),
|
||||
m_colorsBackground(true),
|
||||
m_backgroundColor(Palette::WallScreen)
|
||||
{
|
||||
assert(m_dataSource != nullptr);
|
||||
@@ -44,9 +43,6 @@ ScrollView::Decorator * ScrollView::decorator() {
|
||||
}
|
||||
|
||||
void ScrollView::drawRect(KDContext * ctx, KDRect rect) const {
|
||||
if (!m_colorsBackground) {
|
||||
return;
|
||||
}
|
||||
KDCoordinate height = bounds().height();
|
||||
KDCoordinate width = bounds().width();
|
||||
KDCoordinate offsetX = contentOffset().x();
|
||||
|
||||
Reference in New Issue
Block a user