Skip to content

Commit

Permalink
Framework Update
Browse files Browse the repository at this point in the history
To version 155.
  • Loading branch information
Tercioo committed Oct 30, 2019
1 parent 5e05d6b commit 0281d28
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Libs/DF/fw.lua
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

local dversion = 154
local dversion = 155
local major, minor = "DetailsFramework-1.0", dversion
local DF, oldminor = LibStub:NewLibrary (major, minor)

Expand Down
4 changes: 3 additions & 1 deletion Libs/DF/panel.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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, ...)
Expand Down
4 changes: 2 additions & 2 deletions boot.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 0281d28

Please sign in to comment.