Comments about FlightMap http://wow.curseforge.com/addons/flight-map/ The latest comments about FlightMap en-us Mon, 10 Aug 2009 17:08:44 +0000 CurseForge.com (http://www.curseforge.com) Comment #1 http://wow.curseforge.com/addons/flight-map/?comment=1 <p>Hi, try this fix for timer windows. It just adjust large texts so timer will always show.</p> <p>Replace code in FlightMaptimes.lua at line 228-251 by :</p> <p>[quote]<br> &nbsp;&nbsp; &nbsp; &nbsp; &nbsp;local label = self.destination<br> &nbsp;&nbsp; &nbsp; &nbsp; &nbsp;local timing;<br> &nbsp;&nbsp; &nbsp; &nbsp; &nbsp;local now = GetTime();<br> &nbsp;&nbsp; &nbsp; &nbsp; &nbsp;-- If the time was too short, wipe it out and save a new one!<br> &nbsp;&nbsp; &nbsp; &nbsp; &nbsp;if (self.endTime and self.endTime &lt; now) then<br> &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;self.endTime = nil;<br> &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;FlightMapTimesFrame:SetMinMaxValues(0, 100);<br> &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;FlightMapTimesFrame:SetValue(100);<br> &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;FlightMapTimesFrame:SetStatusBarColor(0.0, 0.0, 1.0);<br> &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;FlightMapTimesSpark:Hide();<br> &nbsp;&nbsp; &nbsp; &nbsp; &nbsp;end</p> <p>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;-- Update the spark, status bar and label<br> &nbsp;&nbsp; &nbsp; &nbsp; &nbsp;if (self.endTime then<br> &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;local remains = self.endTime - now;<br> &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;timing = <a href="http://FlightMapUtil.formatTime(remains" rel="nofollow">FlightMapUtil.formatTime(remains</a>, true);<br> &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;local sparkPos = ((now - self.startTime<br> &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;/ (self.endTime - self.startTime * 195;<br> &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;FlightMapTimesSpark:SetPoint(&#34;CENTER&#34;,<br> &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&#34;FlightMapTimesFrame&#34;, &#34;LEFT&#34;, sparkPos, 2);<br> &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;FlightMapTimesFrame:SetValue(now);<br> &nbsp;&nbsp; &nbsp; &nbsp; &nbsp;else<br> &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;timing = <a href="http://string.format(FLIGHTMAP_TIMING" rel="nofollow">string.format(FLIGHTMAP_TIMING</a>,<br> &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<a href="http://FlightMapUtil.formatTime(now" rel="nofollow">FlightMapUtil.formatTime(now</a> - self.startTime<br> &nbsp;&nbsp; &nbsp; &nbsp; &nbsp;end</p> <p>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;if (strlen(label..timing)&gt;27) then label = strsub(label,<br> &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;1,(27-strlen(timing)-3)) .. &#34;... &#34;; end<br> &nbsp;&nbsp; &nbsp; &nbsp; &nbsp;label = label .. &#34;: &#34; .. timing;<br> [/quote]</p> Mon, 10 Aug 2009 17:08:44 +0000 http://wow.curseforge.com/addons/flight-map/?comment=1 http://wow.curseforge.com/addons/flight-map/?comment=1 no-reply@curseforge.com (KKram)