Skip to content

Commit

Permalink
- added styling of tooltips from LibDropDownMenu
Browse files Browse the repository at this point in the history
  • Loading branch information
frozn committed Aug 23, 2024
1 parent 6bacc1a commit 1ed22aa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions TipTac/ttCore.lua
Original file line number Diff line number Diff line change
Expand Up @@ -601,7 +601,7 @@ TT_ExtendedConfig.tipsToModify = {
addUIDropDownMenuFrames();
end);

-- HOOK: ToggleDropDownMenu() to reapply appearance because e.g. 1-pixel borders sometimes aren't displayed correctly
-- HOOK: ToggleDropDownMenu() to reapply appearance because e.g. 1-pixel borders sometimes aren't displayed correctly and to reapply scale
hooksecurefunc("ToggleDropDownMenu", function(level, value, dropDownFrame, anchorName, xOffset, yOffset, menuList, button, autoHideDelay)
-- reapply appearance to tip
local tip = _G["DropDownList" .. (level or 1)];
Expand All @@ -626,7 +626,7 @@ TT_ExtendedConfig.tipsToModify = {
addLibDropDownMenuFrame(name);
end);

-- HOOK: ToggleDropDownMenu() to reapply appearance because e.g. 1-pixel borders sometimes aren't displayed correctly
-- HOOK: ToggleDropDownMenu() to reapply appearance because e.g. 1-pixel borders sometimes aren't displayed correctly and to reapply scale
hooksecurefunc(LibDropDownMenu, "ToggleDropDownMenu", function(level, value, dropDownFrame, anchorName, xOffset, yOffset, menuList, button, autoHideDelay, overrideDisplayMode)
-- reapply appearance to tip
local tip = _G["LibDropDownMenu_List" .. (level or 1)];
Expand Down

0 comments on commit 1ed22aa

Please sign in to comment.