mirror of
https://github.com/Xkeeper0/jul.git
synced 2025-05-19 08:40:21 -07:00
Merge pull request #80 from Kak2X/ppdgauge-gradient-fix
Fix invalid gradient in ppdgauge
This commit is contained in:
commit
67d13bdb44
@ -69,7 +69,7 @@
|
|||||||
$cx = ($i) / 25 * 255;
|
$cx = ($i) / 25 * 255;
|
||||||
$cc = imagecolorallocate($image, 255, $cx, 0);
|
$cc = imagecolorallocate($image, 255, $cx, 0);
|
||||||
} elseif ($i <= 49) {
|
} elseif ($i <= 49) {
|
||||||
$cx = ($i - 75) / 25 * 127;
|
$cx = ($i - 25) / 25 * 127;
|
||||||
$cc = imagecolorallocate($image, 255 - $cx, 255 - $cx, $cx);
|
$cc = imagecolorallocate($image, 255 - $cx, 255 - $cx, $cx);
|
||||||
} elseif ($i <= 74) {
|
} elseif ($i <= 74) {
|
||||||
$cx = ($i - 50) / 25 * 31;
|
$cx = ($i - 50) / 25 * 31;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user