View Single Post
01-29-13, 03:27 PM   #16
ravagernl
Proceritate Corporis
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 1,176
Originally Posted by Nallepuh View Post
hi, just a Quick question, if i want to remove "show total" like 1.4/2.2Žand i only want 1.4 example... in the future, what do i remove/add in LUA code! thanks!
You would change line 12 from:
lua Code:
  1. self.timer:SetText(format("%2.1f/%1.1f", max(self.maxValue - self.value, 0), self.maxValue))

to:
lua Code:
  1. self.timer:SetText(format("%.1f", max(self.maxValue - self.value, 0)))
  Reply With Quote