0
@@ -35,6 +35,15 @@ frame:SetScript("OnShow", function()
0
+ local bindwheel = tekcheck.new(frame, nil, "Bind mousewheel", "TOPLEFT", showunit, "BOTTOMLEFT", 0, -GAP)
0
+ bindwheel.tiptext = "Bind to mousewheel when out of combat and needs are present."
0
+ bindwheel:SetScript("OnClick", function(self)
0
+ Cork.db.bindwheel = not Cork.db.bindwheel
0
+ Cork.UpdateMouseBinding()
0
local tooltiplimit, tooltiplimittext, ttlcontainer = LibStub("tekKonfig-Slider").new(frame, "Tooltip Limit: " .. Cork.dbpc.tooltiplimit, 0, 40, "TOP", showanchor, "TOP")
0
ttlcontainer:SetPoint("LEFT", frame, "CENTER", GAP*5/2, 0)
0
tooltiplimit.tiptext = "The number of units to show in the Cork tooltip."
0
@@ -58,7 +67,7 @@ frame:SetScript("OnShow", function()
0
--~ castonpets = tekcheck.new(frame, nil, "Cast on group pets", "TOPLEFT", groupthreshcont, "BOTTOMLEFT", -GAP*2, 0)
0
- castonpets = tekcheck.new(frame, nil, "Cast on group pets", "TOPLEFT",
showunit, "BOTTOMLEFT", 0, -GAP)
0
+ castonpets = tekcheck.new(frame, nil, "Cast on group pets", "TOPLEFT",
bindwheel, "BOTTOMLEFT", 0, -GAP)
0
castonpets.tiptext = "Pets need buffs too! When disabled you can still cast on a pet by targetting it directly."
0
castonpets:SetScript("OnClick", function(self)
0
@@ -68,7 +77,7 @@ frame:SetScript("OnShow", function()
0
- local group = LibStub("tekKonfig-Group").new(frame, "Modules", "TOP", castonpets or
showunit, "BOTTOM", 0, -27)
0
+ local group = LibStub("tekKonfig-Group").new(frame, "Modules", "TOP", castonpets or
bindwheel, "BOTTOM", 0, -27)
0
group:SetPoint("LEFT", EDGEGAP, 0)
0
group:SetPoint("BOTTOMRIGHT", -EDGEGAP, EDGEGAP)
0
@@ -121,6 +130,7 @@ frame:SetScript("OnShow", function()
0
local function Update(self)
0
showanchor:SetChecked(Cork.db.showanchor)
0
showunit:SetChecked(Cork.db.showunit)
0
+ bindwheel:SetChecked(Cork.db.bindwheel)
0
if castonpets then castonpets:SetChecked(Cork.dbpc.castonpets) end
0
if groupthresh then groupthresh:SetValue(Cork.dbpc.multithreshold) end
0
for i,row in pairs(rows) do
Comments
No one has commented yet.