Welcome to the nuBuilder Forums!

Register and log in to access exclusive forums 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: 4307
Joined: Sun Oct 14, 2018 6:43 pm
Has thanked: 71 times
Been thanked: 448 times
Contact:

Re: Color lookup optimisation

Unread post by kev1n »

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