fix(progressbar): Pass label to builder

Ref #224
This commit is contained in:
Michael Carlberg 2016-12-05 05:04:42 +01:00
parent 7d1092db04
commit 1a48f825d1
1 changed files with 1 additions and 1 deletions

View File

@ -73,7 +73,7 @@ namespace drawtypes {
if (i % m_colorstep == 0 && color < m_colors.size()) {
m_fill->m_foreground = m_colors[color++];
}
m_builder->node(m_fill->get());
m_builder->node(m_fill);
}
} else {
size_t color = math_util::percentage_to_value<size_t>(perc, m_colors.size() - 1);