<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array">
    <added>
      <filename>Bindings.xml</filename>
    </added>
  </added>
  <modified type="array">
    <modified>
      <diff>@@ -34,7 +34,6 @@ frame:SetScript(&quot;OnShow&quot;, function()
 		Cork.Update()
 	end)
 
-
 	local castonpets, groupthresh, groupthreshtext
 	if Cork.hasgroupspell then
 		castonpets = tekcheck.new(frame, nil, &quot;Cast on group pets&quot;, &quot;TOP&quot;, showanchor, &quot;TOP&quot;)
@@ -46,8 +45,8 @@ frame:SetScript(&quot;OnShow&quot;, function()
 			for name,dataobj in pairs(Cork.corks) do dataobj:Scan() end
 		end)
 
-		groupthresh, groupthreshtext = LibStub(&quot;tekKonfig-Slider&quot;).new(frame, &quot;Group Threshold: &quot;.. Cork.dbpc.multithreshold, 1, 5, &quot;TOPLEFT&quot;, castonpets, &quot;BOTTOMLEFT&quot;, GAP*2, -GAP)
-		groupthresh.tiptext = &quot;Minimum number of needy players in a group required to cast multi-target spells.&quot;
+		groupthresh, groupthreshtext = LibStub(&quot;tekKonfig-Slider&quot;).new(frame, &quot;Group Threshold: &quot;.. Cork.dbpc.multithreshold, 1, 6, &quot;TOPLEFT&quot;, castonpets, &quot;BOTTOMLEFT&quot;, GAP*2, -GAP)
+		groupthresh.tiptext = &quot;Minimum number of needy players in a group required to cast multi-target spells.  Setting this to six will disable the automatic use of group spells.&quot;
 		groupthresh:SetValueStep(1)
 		groupthresh:SetScript(&quot;OnValueChanged&quot;, function(self, newvalue)
 			Cork.dbpc.multithreshold = newvalue
@@ -55,7 +54,16 @@ frame:SetScript(&quot;OnShow&quot;, function()
 		end)
 	end
 
-	local group = LibStub(&quot;tekKonfig-Group&quot;).new(frame, &quot;Modules&quot;, &quot;TOP&quot;, showunit, &quot;BOTTOM&quot;, 0, -27)
+	local tooltiplimit, tooltiplimittext = LibStub(&quot;tekKonfig-Slider&quot;).new(frame, &quot;Tooltip Limit: &quot; .. Cork.dbpc.tooltiplimit, 0, 40, &quot;TOPLEFT&quot;, showunit, &quot;BOTTOMLEFT&quot;, GAP*2, -GAP)
+	tooltiplimit.tiptext = &quot;The number of units to show in the Cork tooltip.&quot;
+	tooltiplimit:SetValueStep(1)
+	tooltiplimit:SetValue(Cork.dbpc.tooltiplimit)
+	tooltiplimit:SetScript(&quot;OnValueChanged&quot;, function(self, newvalue)
+		Cork.dbpc.tooltiplimit = newvalue
+		tooltiplimittext:SetText(&quot;Tooltip Limit: &quot; .. newvalue)
+	end)
+
+	local group = LibStub(&quot;tekKonfig-Group&quot;).new(frame, &quot;Modules&quot;, &quot;TOP&quot;, tooltiplimit, &quot;BOTTOM&quot;, 0, -27)
 	group:SetPoint(&quot;LEFT&quot;, EDGEGAP, 0)
 	group:SetPoint(&quot;BOTTOMRIGHT&quot;, -EDGEGAP, EDGEGAP)
 
@@ -140,3 +148,9 @@ InterfaceOptions_AddCategory(frame)
 local ldb = LibStub:GetLibrary(&quot;LibDataBroker-1.1&quot;)
 local dataobj = ldb:GetDataObjectByName(&quot;CorkLauncher&quot;) or ldb:NewDataObject(&quot;CorkLauncher&quot;, {type = &quot;launcher&quot;, icon = &quot;Interface\\Icons\\INV_Drink_11&quot;, tocname = &quot;Cork&quot;})
 dataobj.OnClick = function() InterfaceOptionsFrame_OpenToFrame(frame) end
+
+----------------------------
+--       Key Binding      --
+----------------------------
+setglobal(&quot;BINDING_HEADER_CORK&quot;, &quot;Cork&quot;)
+setglobal(&quot;BINDING_NAME_CLICK CorkFrame:LeftButton&quot;, &quot;Click the Cork frame&quot;)</diff>
      <filename>Config.lua</filename>
    </modified>
    <modified>
      <diff>@@ -1,7 +1,7 @@
 
 local ldb, ae = LibStub:GetLibrary(&quot;LibDataBroker-1.1&quot;), LibStub(&quot;AceEvent-3.0&quot;)
 
-Cork = {petmappings = {player = &quot;pet&quot;}, defaultspc = {castonpets = false, multithreshold = 2}, corks = {}, petunits = {pet = true}, keyblist = {CorkIt = true, type = true, Scan = true, Init = true, configframe = true}}
+Cork = {petmappings = {player = &quot;pet&quot;}, defaultspc = {castonpets = false, multithreshold = 2, tooltiplimit = 10}, corks = {}, petunits = {pet = true}, keyblist = {CorkIt = true, type = true, Scan = true, Init = true, configframe = true}}
 local corks = Cork.corks
 local defaults = {point = &quot;TOP&quot;, x = 0, y = -100, showanchor = true, showunit = false}
 local tooltip, anchor
@@ -134,10 +134,12 @@ function Cork.Update(event, name, attr, value, dataobj)
 	tooltip:SetOwner(anchor, &quot;ANCHOR_NONE&quot;)
 	tooltip:SetPoint(GetTipAnchor(anchor))
 
+	local count = 0
 	for name,dataobj in pairs(corks) do
 		for i,v in ldb:pairs(dataobj) do
-			if not Cork.keyblist[i] then
+			if not Cork.keyblist[i] and count &lt; Cork.dbpc.tooltiplimit then
 				if Cork.db.showunit then tooltip:AddDoubleLine(v, i) else tooltip:AddLine(v) end
+				count = count + 1
 			end
 		end
 	end</diff>
      <filename>Cork.lua</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>ae5f06d696f282715eee471c2ea1bced7d4562ab</id>
    </parent>
  </parents>
  <author>
    <name>James Whitehead</name>
    <email>jnwhiteh@artificialtruth.local</email>
  </author>
  <url>http://github.com/tekkub/cork/commit/bed8a72ea133e28201d0adb26e8f8dc4980caba6</url>
  <id>bed8a72ea133e28201d0adb26e8f8dc4980caba6</id>
  <committed-date>2008-08-28T12:41:28-07:00</committed-date>
  <authored-date>2008-08-28T12:41:18-07:00</authored-date>
  <message>[PATCH] Added a keybinding to click the cork frame, and added an option to limit the tooltip lines</message>
  <tree>ef26753e36c9ff771872cacf667dd31710cd0f50</tree>
  <committer>
    <name>Tekkub</name>
    <email>tekkub@gmail.com</email>
  </committer>
</commit>
