gauge adjusting

This commit is contained in:
kremsy 2014-01-14 15:20:28 +01:00 committed by Steffen Schröder
parent 1fed47ec20
commit cbfb5c3535

View File

@ -462,7 +462,7 @@ class CustomVotesPlugin implements CommandListener, CallbackListener, ManialinkP
$voteGauge->setY(-4);
$voteGauge->setSize($width * 0.65, 12);
$voteGauge->setDrawBg(false);
$voteGauge->setRatio($votePercentage + 0.15 - $votePercentage * 0.15);
$voteGauge->setRatio($votePercentage + 0.10 - $votePercentage * 0.10);
$gaugeColor = ColorUtil::floatToStatusColor($votePercentage);
$voteGauge->setColor($gaugeColor . '6');