1
0
Fork 0
mirror of https://github.com/polybar/polybar.git synced 2024-10-27 05:23:39 -04:00

Merge pull request #37 from patrick96/master

Fix volume ramp not working
This commit is contained in:
Michael Carlberg 2016-08-01 13:28:39 +02:00 committed by GitHub
commit b290539514

View file

@ -181,9 +181,9 @@ std::string VolumeModule::get_output()
bool VolumeModule::build(Builder *builder, std::string tag)
{
if (tag == TAG_BAR_VOLUME)
builder->node(this->bar_volume, volume);
else if (tag == TAG_RAMP_VOLUME)
builder->node(this->ramp_volume, volume);
builder->node(this->bar_volume, volume());
else if (tag == TAG_RAMP_VOLUME)
builder->node(this->ramp_volume, volume());
else if (tag == TAG_LABEL_VOLUME)
builder->node(this->label_volume_tokenized);
else if (tag == TAG_LABEL_MUTED)