Quantcast

-You can now move the chat window to the edges of the screen

Xruptor [01-24-11 - 19:41]
-You can now move the chat window to the edges of the screen
Filename
XanChat.lua
XanChat.toc
diff --git a/XanChat.lua b/XanChat.lua
index bc0497b..3058bb3 100644
--- a/XanChat.lua
+++ b/XanChat.lua
@@ -281,6 +281,9 @@ function eFrame:PLAYER_LOGIN()
 			f:SetScript('OnMouseWheel', scrollChat)
 			--f:SetMaxLines(500)

+			--this allows the chatframe to be put in the corners of the screen (or at the edge)
+			f:SetClampRectInsets(0,0,0,0)
+
 			local editBox = _G[n.."EditBox"]

 			if not editBox.left then
diff --git a/XanChat.toc b/XanChat.toc
index 76e5bca..2b64f5c 100644
--- a/XanChat.toc
+++ b/XanChat.toc
@@ -2,7 +2,7 @@
 ## Title: xanChat
 ## Notes: A very minimalistic chat modification addon.
 ## Author: Xruptor
-## Version: 2.2
+## Version: 2.3
 ## SavedVariables: XCHT_DB

 xanChat.lua