XIV_Databar Continued

XIV_Databar Continued

9.5k Downloads

[Bug] Calss Color Text Color not changing for alts

katur239 opened this issue ยท 3 comments

commented

Describe the bug
Using the 'Use Class Color for Text' option will only change the color when it's set. other classes will still have that color when they log in until you re set the option.

I fixed it by changing the GetColor() function

function XIVBar:GetColor(name)
    local profile = self.db.profile.color
    local r, g, b, a = profile[name].r, profile[name].g, profile[name].b, profile[name].a

    if name == 'normal' and profile.useTextCC then
        r, g, b, _ = self:GetClassColors()
    end

    return r, g, b, a
end
commented

Heya,

Happy new year to you !

Werid behavior, I'm back from holidays and will look into that issue and keep you updated, thank you !

commented

Ok so I went a bit further with the implementation of the bar color that should also change with the options returning with #54 (Bar color and Bar opacity).

That fix will be operational in the next release coming soon.

commented

Hi,

At long last, version 3.4 should fix the issues with the bar and text color when using "Use Class Color" ! Let me know if you face any issue with that new release !

Enjoy and thank you again for helping me on XIV Continued ๐Ÿ˜„