- 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:
@@ -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
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -1858,3 +1858,12 @@ function _G._detalhes:Start()
|
||||
end
|
||||
|
||||
_detalhes.AddOnLoadFilesTime = GetTime()
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user