Skip to content

Commit

Permalink
Fix NewFeature check on update menu button
Browse files Browse the repository at this point in the history
  • Loading branch information
hizuro committed May 11, 2024
1 parent 139f49c commit fb47944
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion LibDropDownMenuTemplatesCreate.lua
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ end

function Update_DropDownMenuButton(name)
local button = _G[name];
if not (button and button.NewFeature) then return end
if (button and button.NewFeature) then return end

button.NewFeature = Create_NewFeature(button,"FULLSCREEN_DIALOG",100,1,1,0.8,false);
button.NewFeature:SetPoint("LEFT", button.NormalText, "RIGHT", 20, 0);
Expand Down

0 comments on commit fb47944

Please sign in to comment.