Quantcast

Fix: A minor incompatibility wuth some addons was causing them to

Alar of Daggerspine [01-10-15 - 11:44]
Fix: A minor incompatibility wuth some addons was causing them to
display very small menus in some options pages. Thanks to Goldshire for
pointing it

Signed-off-by: Alar of Daggerspine <alar@aspide.it>
Filename
CHANGELOG.txt
GarrisonCommander.lua
RelNotes.lua
diff --git a/CHANGELOG.txt b/CHANGELOG.txt
index 8685478..860ad1a 100644
--- a/CHANGELOG.txt
+++ b/CHANGELOG.txt
@@ -1,6 +1,7 @@
 = GarrisonCommander helps you when choosing the right follower for the right mission =
 * 2,1,3
 Fix: Another step in hide and seek with Master Plan. Use GC Interface now works also with MP 0.22.1. This fix also reenables Garrison Mission Manager
+Fix: A minor incompatibility wuth some addons was causing them to display very small menus in some options pages. Thanks to Goldshire for pointing it
 * 2.1.2
 Fix: Mission should appear sorted as requested bith on startup and after a mission completion
 Fix: Removed a couple fo rare lua error
diff --git a/GarrisonCommander.lua b/GarrisonCommander.lua
index 0ce65f6..5a3115e 100644
--- a/GarrisonCommander.lua
+++ b/GarrisonCommander.lua
@@ -1719,6 +1719,7 @@ function addon:CreateOptionsLayer(...)
 	local o=AceGUI:Create("SimpleGroup") -- a transparent frame
 	xprint("Created options ", o)
 	o:SetLayout("Flow")
+	o:SetCallback("OnRelease",function(widget) widget.frame:SetScale(1.0) print("Released") end)
 	o:SetCallback("OnClose",function(widget) widget.frame:SetScale(1.0) widget:Release() end)
 	for i=1,select('#',...) do
 		self:AddOptionToOptionsLayer(o,select(i,...))
diff --git a/RelNotes.lua b/RelNotes.lua
index 4edfd17..508d784 100644
--- a/RelNotes.lua
+++ b/RelNotes.lua
@@ -23,7 +23,8 @@ self:Wiki([[
 typing /gac silent in chat will eliminate every chat messag from GarrisonCommander
 ]])
 self:RelNotes(2,1,3,[[
-Fix: Another step in hide and seek with Master Plan. Use GC Interface now works also with MP 0.22.1. This fix also reenables Garrison Mission Manager
+Fix: Another step in hide and seek with Master Plan. Use GC Interface now works also with MP 0.22.1. This fix also reenables Garrison Mission Manager. Thanks to Careraider for pointing it
+Fix: A minor incompatibility wuth some addons was causing them to display very small menus in some options pages. Thanks to Goldshire for pointing it
 ]])
 self:RelNotes(2,1,2,[[
 Fix: Mission should appear sorted as requested bith on startup and after a mission completion