mirror of
https://github.com/polybar/polybar.git
synced 2024-11-11 13:50:56 -05:00
parent
7d1092db04
commit
1a48f825d1
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue