- put this after the block for: -- active shortcut
-- all shortcut
sx = x + width - (16*3) - (2*3)
SetDrawColor(1,1,1)
if allHover then
DrawImage(icon_sort_disabled_hover, sx, y, 16, height)
else
DrawImage(icon_sort_disabled, sx, y, 16, height)
end
- and this that replaces the block at: -- for filter overlay buttons
-- for filter overlay buttons
local x, y = self:GetPos()
local width, height = self:GetSize()
local cursorX, cursorY = GetCursorPos()
if cursorX > (x + width - 18) then
self.bypassSort = false
self.mode = "support"
self:PopulateGemList()
elseif (cursorX > (x + width - 40) and cursorX < (cursorX + width - 20)) then
self.bypassSort = false
self.mode = "grants_active_skill"
self:PopulateGemList()
elseif (cursorX > (x + width - 60) and cursorX < (cursorX + width - 40)) then
self.bypassSort = true
self.mode = ""
self:PopulateGemList()
else
self.bypassSort = false
end
- after altQuatMap variable:
local icon_sort_disabled
local icon_sort_disabled_hover
- at the end of newClass function
if icon_sort_disabled == nil then
icon_sort_disabled = NewImageHandle()
icon_sort_disabled_hover = NewImageHandle()
icon_sort_disabled:Load("Assets/ui_sort_disabled.png")
icon_sort_disabled_hover:Load("Assets/ui_sort_disabled_hover.png")
end