Page 1 of 1

Color lookup optimisation

Posted: Mon Jan 11, 2021 7:52 am
by apmuthu
In stable v4 and dev 4.5, the function ColorToHex($pColor) can be replaced in nucommon.php with the function in the attachment. This makes for instant color determination instead of a long series of "if" checks.

Re: Color lookup optimisation

Posted: Mon Jan 11, 2021 10:28 am
by kev1n
Thanks, it's in v 4.5 now.