WoWInterface SVN ItemRack

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /trunk/ItemRackOptions
    from Rev 43 to Rev 45
    Reverse comparison

Rev 43 → Rev 45

ItemRackOptions.lua
1205,11 → 1205,11
if selected <= idx then
offset = (selected==1) and 0 or (parent:GetValue() - (parent:GetHeight() / 2))
parent:SetValue(offset)
PlaySound("UChatScrollButton")
PlaySound(SOUNDKIT.U_CHAT_SCROLL_BUTTON)
elseif selected >= (idx+12) then
offset = (selected==#(list)) and ItemRackOptSortListScrollFrame:GetVerticalScrollRange() or (parent:GetValue() + (parent:GetHeight() / 2))
parent:SetValue(offset)
PlaySound("UChatScrollButton");
PlaySound(SOUNDKIT.U_CHAT_SCROLL_BUTTON);
end
end
ItemRackOptQueueEnable:SetChecked(ItemRackUser.QueuesEnabled[ItemRackOpt.SelectedSlot])
ItemRackOptions.toc
1,4 → 1,4
## Interface: 70200
## Interface: 70300
## Title: ItemRackOptions
## Notes: Load-On-Demand modules for ItemRack
## Dependencies: ItemRack, Blizzard_MacroUI