Mercurial > wow > buffalo2
diff Init.lua @ 21:d5ee940de273
use hardcoded aesthetic manipulations over loadstring cramming
author | Nenue |
---|---|
date | Fri, 08 Apr 2016 06:12:05 -0400 |
parents | ed642234f017 |
children | 66b927b46776 |
line wrap: on
line diff
--- a/Init.lua Wed Apr 06 07:54:19 2016 -0400 +++ b/Init.lua Fri Apr 08 06:12:05 2016 -0400 @@ -409,7 +409,12 @@ B.InitXMLFrame = function(self) print('|cFF00FF00hello from '..self:GetName()) - self:RegisterForDrag('LeftButton') + if self.drag then + self:RegisterForDrag('LeftButton') + else + self:EnableMouse(false) + end + if not B.Conf.FramePosition then B.Conf.FramePosition = {} end