Quantcast

Nothing important. Just library updates.

Scott Sibley [08-10-10 - 21:08]
Nothing important. Just library updates.
Filename
.docmeta
Modules/Text.lua
diff --git a/.docmeta b/.docmeta
new file mode 100644
index 0000000..acbb055
--- /dev/null
+++ b/.docmeta
@@ -0,0 +1,3 @@
+type: luadoc
+input-files: "**/*.lua"
+output-directory: API
diff --git a/Modules/Text.lua b/Modules/Text.lua
index dce1443..3b0e41e 100644
--- a/Modules/Text.lua
+++ b/Modules/Text.lua
@@ -442,10 +442,11 @@ function mod:CreateLines()
 		GameTooltip:ClearLines()
         for i, v in ipairs(self) do
 			if not self.leftProperty then
-				--self.leftProp = LibProperty:New(self, v.name .. " left", v.left)
-				--self.rightProp = LibProperty:New(self, v.name .. " right", v.right)
-				--self.prefixProp = LibProperty:New(self, v.name .. " prefix", v.prefix)
-				--self.postfixProp = LibProperty:New(self, v.name .. " postfix", v.postfix)
+				--[[self.leftProp = LibProperty:New(mod, v.name .. " left", v.left)
+				self.rightProp = LibProperty:New(mod, v.name .. " right", v.right)
+				self.prefixProp = LibProperty:New(mod, v.name .. " prefix", v.prefix)
+				self.postfixProp = LibProperty:New(mod, v.name .. " postfix", v.postfix)
+				]]
 			end
 			if v.enabled and not v.deleted then

@@ -490,6 +491,10 @@ function mod:CreateLines()

 			if v.marquee and not v.marqueeObj then
 				v.string = v.left
+				if v.marqueeObj then
+					v.marqueeObj:Stop() -- just to be double sure
+					v.marqueeObj:Del()
+				end
 				v.marqueeObj = LibMarquee:New(mod.leftLines[lineNum], mod, v)
 				v.marqueeObj:Start()
 			end