Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Q] How to Backdrop Border Color of the GameTooltip with 3rd party addon? #360

Closed
orionshock opened this issue Nov 4, 2024 · 3 comments
Closed
Labels
1_question Further information is requested 3_solved Issue is fixed

Comments

@orionshock
Copy link

Describe the individual topic

I have a simple and private addon that colors the border of item tooltips red when is basically no usable by the player class.
I have been going though the code and found that TipTac is using hookmagic to simply enforce it's own options.
Is there a simple and direct way to set the game tooltip boarder color with out TipTac overriding it?

@frozn frozn added the 1_question Further information is requested label Nov 6, 2024
@frozn
Copy link
Owner

frozn commented Nov 6, 2024

Yes, you can use the following snippet:

if (_G.TipTac) then
	_G.TipTac:SetBackdropBorderColorLocked(tip, r, g, b, a);
end

@orionshock
Copy link
Author

finally figured that out - but also found out i have to load after TipTac for it to work for some reason.

@frozn
Copy link
Owner

frozn commented Nov 11, 2024

Probably has to do with the hooking order, which addon sets the border at last.

@frozn frozn added the 3_solved Issue is fixed label Dec 28, 2024
@frozn frozn closed this as completed Jan 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1_question Further information is requested 3_solved Issue is fixed
Projects
None yet
Development

No branches or pull requests

2 participants