Skip to content

Commit

Permalink
C_Container fixes for 10.0.2 (#58)
Browse files Browse the repository at this point in the history
  • Loading branch information
afro1114 authored Nov 17, 2022
1 parent 1cec1ba commit 1d769ee
Showing 1 changed file with 6 additions and 6 deletions.
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

0 comments on commit 1d769ee

Please sign in to comment.