View Single Post
07-25-18, 04:01 PM   #7
VincentSDSH
Non-Canadian Luzer!
 
VincentSDSH's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2006
Posts: 350
Originally Posted by zork View Post
Do you think overriding a default constant is a good idea? That can lead to a myriad of taints since the tooltip is used god knows where.
Altering the GAME_TOOLTIP_BACKDROP_STYLE_DEFAULT doesn't cause any issues. You can update the functions or alter the data and it doesn't mind. Keep in mind that there's another default (GAME_TOOLTIP_BACKDROP_STYLE_AZERITE_ITEM) that gets conditionally applied if it's azerite gear.

This is what Tiptac wound up doing (see this ticket) and we've been testing it pretty heavily w/o any tainting issues.
__________________
AddonsExecutive Assistant User Configurable To-Do ListLegible Mail Choose the Font for Your Mail
  Reply With Quote