mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-29 19:49:58 +02:00
[escher] In text view, fix bug: color all background in background color
Change-Id: I45bab2759cde8d6af51b927750ba16610afc36cd
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user