[escher] In text view, fix bug: color all background in background color

Change-Id: I45bab2759cde8d6af51b927750ba16610afc36cd
This commit is contained in:
Émilie Feral
2017-01-18 16:00:22 +01:00
parent 291a029a60
commit ce88f34179
8 changed files with 15 additions and 19 deletions

View File

@@ -12,12 +12,6 @@ AlternateEmptyViewController::ContentView::ContentView(ViewController * mainView
{
}
void AlternateEmptyViewController::ContentView::drawRect(KDContext * ctx, KDRect rect) const {
if (m_delegate->isEmpty()) {
ctx->fillRect(bounds(), Palette::BackgroundColor);
}
}
int AlternateEmptyViewController::ContentView::numberOfSubviews() const {
return 1;
}