- Fixed East Asian myriads showing a giganting non formated number in the total bar DPS.

- Added a reset nickname button in the right side of the nickname field.
- Framework and NickTag library updates.
- Removed deprecated 'feedback' button, there's Discord now.
This commit is contained in:
Tercioo
2018-12-11 11:23:05 -02:00
parent 24d5be67d2
commit 55f5caaedc
4 changed files with 25 additions and 6 deletions
+6
View File
@@ -103,6 +103,12 @@ function DF:Clamp (minValue, maxValue, value)
return value < minValue and minValue or value < maxValue and value or maxValue
end
--from http://lua-users.org/wiki/SimpleRound cut fractions on a float
function DF:Round (num, numDecimalPlaces)
local mult = 10^(numDecimalPlaces or 0)
return math.floor(num * mult + 0.5) / mult
end
function DF:ScaleBack ()
end
+8 -6
View File
File diff suppressed because one or more lines are too long
+2
View File
@@ -552,6 +552,8 @@ function _detalhes:OpenOptionsWindow (instance, no_reopen, section)
local feedback_image = g:NewImage (window, [[Interface\Buttons\UI-RADIOBUTTON]], 8, 9, "artwork", {20/64, 27/64, 4/16, 11/16})
feedback_image:SetPoint ("right", feedback_button, "left", -1, 0)
feedback_button:Hide()
--> translate
--[[
local translate_button = g:NewButton (window, _, "$parentOpenTranslateButton", nil, 140, 14, _detalhes.OpenTranslateWindow, nil, nil, nil, Loc ["STRING_TRANSLATE_LANGUAGE"], 1)
+9
View File
@@ -1858,3 +1858,12 @@ function _G._detalhes:Start()
end
_detalhes.AddOnLoadFilesTime = GetTime()