parent
7d1092db04
commit
1a48f825d1
@ -73,7 +73,7 @@ namespace drawtypes {
|
|||||||
if (i % m_colorstep == 0 && color < m_colors.size()) {
|
if (i % m_colorstep == 0 && color < m_colors.size()) {
|
||||||
m_fill->m_foreground = m_colors[color++];
|
m_fill->m_foreground = m_colors[color++];
|
||||||
}
|
}
|
||||||
m_builder->node(m_fill->get());
|
m_builder->node(m_fill);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
size_t color = math_util::percentage_to_value<size_t>(perc, m_colors.size() - 1);
|
size_t color = math_util::percentage_to_value<size_t>(perc, m_colors.size() - 1);
|
||||||
|
Loading…
Reference in New Issue
Block a user