Welcome to the nuBuilder Forums!

Join our community by registering and logging in.
As a member, you'll get access to exclusive forums, resources, and content available only to registered users.

Color lookup optimisation

Questions related to using nuBuilder Forte.
Post Reply
apmuthu
Posts: 249
Joined: Sun Dec 06, 2020 6:50 am
Location: Chennai, India, Singapore

Color lookup optimisation

Unread post 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.
You do not have the required permissions to view the files attached to this post.
kev1n
nuBuilder Team
Posts: 4565
Joined: Sun Oct 14, 2018 6:43 pm
Has thanked: 76 times
Been thanked: 529 times
Contact:

Re: Color lookup optimisation

Unread post by kev1n »

Thanks, it's in v 4.5 now.
Post Reply