mirror of
https://github.com/Xkeeper0/jul.git
synced 2025-05-19 00:30:21 -07:00
Fix invalid gradient in ppdgauge
This commit is contained in:
parent
47be4dcd5e
commit
1ae559f107
@ -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