From 0281d28a569e6b463445e01605e94703e12328a8 Mon Sep 17 00:00:00 2001 From: Tercio Jose Date: Wed, 30 Oct 2019 20:17:49 -0300 Subject: [PATCH] Framework Update To version 155. --- Libs/DF/fw.lua | 2 +- Libs/DF/panel.lua | 4 +++- boot.lua | 4 ++-- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/Libs/DF/fw.lua b/Libs/DF/fw.lua index 3d7e7dbd9..ce869b7de 100644 --- a/Libs/DF/fw.lua +++ b/Libs/DF/fw.lua @@ -1,5 +1,5 @@ -local dversion = 154 +local dversion = 155 local major, minor = "DetailsFramework-1.0", dversion local DF, oldminor = LibStub:NewLibrary (major, minor) diff --git a/Libs/DF/panel.lua b/Libs/DF/panel.lua index e7c4a6082..ef7bdab87 100644 --- a/Libs/DF/panel.lua +++ b/Libs/DF/panel.lua @@ -7683,7 +7683,7 @@ DF.CastFrameFunctions = { --> check max value if (not isFinished and not self.finished) then if (self.casting) then - if (self.value >= self.maxValue or self.value < 0) then + if (self.value >= self.maxValue) then isFinished = true end @@ -8287,8 +8287,10 @@ DF.CastFrameFunctions = { self.spellStartTime = startTime / 1000 self.spellEndTime = endTime / 1000 self.value = GetTime() - self.spellStartTime + if self.value < 0 then self.value = 0 end self.maxValue = self.spellEndTime - self.spellStartTime self:SetMinMaxValues (0, self.maxValue) + self:SetValue (self.value) end, UNIT_SPELLCAST_CHANNEL_UPDATE = function (self, unit, ...) diff --git a/boot.lua b/boot.lua index e20152255..e62547ec0 100644 --- a/boot.lua +++ b/boot.lua @@ -4,8 +4,8 @@ _ = nil _detalhes = LibStub("AceAddon-3.0"):NewAddon("_detalhes", "AceTimer-3.0", "AceComm-3.0", "AceSerializer-3.0", "NickTag-1.0") - _detalhes.build_counter = 7224 - _detalhes.alpha_build_counter = 7224 --if this is higher than the regular counter, use it instead + _detalhes.build_counter = 7225 + _detalhes.alpha_build_counter = 7225 --if this is higher than the regular counter, use it instead _detalhes.game_version = "v8.2.5" _detalhes.userversion = "v8.2.5." .. _detalhes.build_counter _detalhes.realversion = 140 --core version, this is used to check API version for scripts and plugins (see alias below)