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

C_Container fixes for 10.0.2 #58

Merged
merged 1 commit into from
Nov 17, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions basicOptions.lua
Original file line number Diff line number Diff line change
Expand Up @@ -473,21 +473,21 @@ secureToggle:SetPoint("TOPLEFT", IsClassic() and playerGuildTitles or fadeMap, "
luaErrors:SetPoint("TOPLEFT", secureToggle, "BOTTOMLEFT", 0, -4)
targetDebuffFilter:SetPoint("TOPLEFT", luaErrors, "BOTTOMLEFT", 0, -4)

local reverseCleanupBags = GetSortBagsRightToLeft and SetSortBagsRightToLeft and newCheckbox(AIO, 'reverseCleanupBags',
local reverseCleanupBags = C_Container.GetSortBagsRightToLeft and C_Container.SetSortBagsRightToLeft and newCheckbox(AIO, 'reverseCleanupBags',
function(self)
return GetSortBagsRightToLeft()
return C_Container.GetSortBagsRightToLeft()
end,
function(self, checked)
SetSortBagsRightToLeft(checked)
C_Container.SetSortBagsRightToLeft(checked)
end
)

local lootLeftmostBag = GetInsertItemsLeftToRight and SetInsertItemsLeftToRight and newCheckbox(AIO, 'lootLeftmostBag',
local lootLeftmostBag = C_Container.GetInsertItemsLeftToRight and C_Container.SetInsertItemsLeftToRight and newCheckbox(AIO, 'lootLeftmostBag',
function(self)
return GetInsertItemsLeftToRight()
return C_Container.GetInsertItemsLeftToRight()
end,
function(self, checked)
SetInsertItemsLeftToRight(checked)
C_Container.SetInsertItemsLeftToRight(checked)
end
)

Expand Down