fix(renderer): Fill background to the sub blocks

Paint the background on each sub block instead of the base surface.
Fixes the compositing ops.
This commit is contained in:
Michael Carlberg 2017-01-26 01:53:24 +01:00
parent b16c105514
commit 5283fbff01
3 changed files with 29 additions and 11 deletions
src/components

View file

@ -665,6 +665,7 @@ bool bar::on(const signals::eventqueue::start&) {
m_log.trace("bar: Draw empty bar");
m_renderer->begin(m_opts.inner_area());
m_renderer->fill_background();
m_renderer->end();
m_sig.emit(signals::ui::ready{});