Closed levanah0403 closed 6 months ago
reverting this as when i first read through i thought it was correct but after doing it and testing, i dont see why u did this as it broke things
most of the functions manually added to valueColorUpdateFuncs
are local functions without being a child of a module, however this one is a child method of DT
which means the first Arg is automatically set because DT:UpdateHexColors
vs DT.UpdateHexColors
. This PR causes the hex value to be _
not hex
because of this. You can see this for more info if i explained poorly: https://www.lua.org/pil/16.html
Old datatext addons that have not been updated will be calling the valueColorUpdateFuncs.. That's no longer the proper call to use as the whole system was revamped.
UpdateHexColors need 4 parameters for E.valueColorUpdateFuncs