Skip to content
Open
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion src/Classes/ItemsTab.lua
Original file line number Diff line number Diff line change
Expand Up @@ -695,7 +695,7 @@ holding Shift will put it in the second.]])
end
return h
end})
for i = 1, 6 do
for i = 1, maxModCount do
local prev = self.controls["displayItemAffix"..(i-1)] or self.controls.displayItemSectionAffix
local drop, slider
local function verifyRange(range, index, drop) -- flips range if it will form discontinuous values
Expand Down
16 changes: 16 additions & 0 deletions src/Classes/ItemsTab.lua.rej
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
diff a/src/Classes/ItemsTab.lua b/src/Classes/ItemsTab.lua (rejected hunks)
@@ -702,12 +702,13 @@ holding Shift will put it in the second.]])
end

-- Section: Affix Selection
+ local maxModCount = 9
self.controls.displayItemSectionAffix = new("Control", {"TOPLEFT",self.controls.displayItemSectionRune,"BOTTOMLEFT"}, {0, 0, 0, function()
if not self.displayItem or not self.displayItem.crafted then
return 0
end
local h = 6
- for i = 1, 6 do
+ for i = 1, maxModCount do
if self.controls["displayItemAffix"..i]:IsShown() then
h = h + 24
if self.controls["displayItemAffixRange"..i]:IsShown() then