Skip to content

Commit

Permalink
Fix compatibility with Extended Transmog Sets (closes #4)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ketho committed Nov 26, 2024
1 parent 8b997c9 commit 31c438b
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"WardRobeSortDropdown"
],
"Lua.workspace.library": [
"~\\.vscode\\extensions\\ketho.wow-api-0.17.5\\Annotations"
"~\\.vscode\\extensions\\ketho.wow-api-0.17.6\\Annotations"
],
"Lua.runtime.version": "Lua 5.1",
"Lua.runtime.builtin": {
Expand Down
6 changes: 5 additions & 1 deletion WardrobeSort.lua
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,11 @@ end
-- place differently for the transmogrifier / collections tab
local function PositionDropDown()
if C_Transmog.IsAtTransmogNPC() then
WardRobeSortDropdown:SetPoint("TOPLEFT", WardrobeCollectionFrame.ClassDropdown, "BOTTOMLEFT", 30, 20)
if C_AddOns.IsAddOnLoaded("ExtendedSets") then
WardRobeSortDropdown:SetPoint("TOPLEFT", WardrobeCollectionFrame.ClassDropdown, "TOPRIGHT")
else
WardRobeSortDropdown:SetPoint("TOPLEFT", WardrobeCollectionFrame.ClassDropdown, "BOTTOMLEFT", 30, 20)
end
else
WardRobeSortDropdown:SetPoint("TOPLEFT", WardrobeCollectionFrame.ClassDropdown, "BOTTOMLEFT")
end
Expand Down
2 changes: 1 addition & 1 deletion WardrobeSort.toc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## Interface: 110002
## Interface: 110005
## Version: @project-version@
## Title: WardrobeSort
## Notes: Sorts the Wardrobe
Expand Down

0 comments on commit 31c438b

Please sign in to comment.