[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: www/areas/accessibility
From: Olaf Schmidt <ojschmidt () kde ! org>
Date: 2006-07-10 22:24:21
Message-ID: 1152570261.402064.18412.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 560696 by ojschmidt:
Fix name in summary
M +1 -5 oxygen.php
--- trunk/www/areas/accessibility/oxygen.php #560695:560696
@@ -12,10 +12,6 @@
return -1;
elseif ($a ["saturation"] < $b ["saturation"])
return 1;
-/* elseif (abs ($a ["luminosity"] - 0.15) > abs ($b ["luminosity"] - 0.15))
- return 1;
- elseif (abs ($a ["luminosity"] - 0.15) < abs ($b ["luminosity"] - 0.15))
- return -1;*/
else
return compareHue ($a, $b);
};
@@ -107,7 +103,7 @@
<td style="text-align:right;"><?php printf ("%.2f%%", $color ["saturation"]*100) ?></td>
<td style="text-align:right;"><?php printf ("%.2f%%", $color ["luminosity"]*100) ?></td>
<?php if (count ($extracolors) == 0) { ?>
- <td style="text-align:left;"><?php evaluateColor ($extraname, $color ["luminosity"]) ?></td>
+ <td style="text-align:left;"><?php evaluateColor ($name, $color ["luminosity"]) ?></td>
<?php } else foreach ($extracolors as $extraname=>$extracolor) {
echo '<td style="text-align:center;">';
if ($extracolor ["hex"] != $color ["hex"]) {
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic