gauge adjusting
This commit is contained in:
1 parent
1fed47ec20
commit
cbfb5c3535
1 file changed
+1
-1
@@ -462,7 +462,7 @@ class CustomVotesPlugin implements CommandListener, CallbackListener, ManialinkP
|
|||||||
$voteGauge->setY(-4);
|
$voteGauge->setY(-4);
|
||||||
$voteGauge->setSize($width * 0.65, 12);
|
$voteGauge->setSize($width * 0.65, 12);
|
||||||
$voteGauge->setDrawBg(false);
|
$voteGauge->setDrawBg(false);
|
||||||
$voteGauge->setRatio($votePercentage + 0.15 - $votePercentage * 0.15);
|
$voteGauge->setRatio($votePercentage + 0.10 - $votePercentage * 0.10);
|
||||||
$gaugeColor = ColorUtil::floatToStatusColor($votePercentage);
|
$gaugeColor = ColorUtil::floatToStatusColor($votePercentage);
|
||||||
$voteGauge->setColor($gaugeColor . '6');
|
$voteGauge->setColor($gaugeColor . '6');
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user