Mercurial > wow > buffalo2
comparison 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 |
comparison
equal
deleted
inserted
replaced
| 20:6bd2102d340b | 21:d5ee940de273 |
|---|---|
| 407 end | 407 end |
| 408 | 408 |
| 409 B.InitXMLFrame = function(self) | 409 B.InitXMLFrame = function(self) |
| 410 print('|cFF00FF00hello from '..self:GetName()) | 410 print('|cFF00FF00hello from '..self:GetName()) |
| 411 | 411 |
| 412 self:RegisterForDrag('LeftButton') | 412 if self.drag then |
| 413 self:RegisterForDrag('LeftButton') | |
| 414 else | |
| 415 self:EnableMouse(false) | |
| 416 end | |
| 417 | |
| 413 if not B.Conf.FramePosition then | 418 if not B.Conf.FramePosition then |
| 414 B.Conf.FramePosition = {} | 419 B.Conf.FramePosition = {} |
| 415 end | 420 end |
| 416 if not B.Conf.FrameState then | 421 if not B.Conf.FrameState then |
| 417 B.Conf.FrameState = {} | 422 B.Conf.FrameState = {} |
