Fixed an error while trying to move the window by clicking and holding on a window line
This commit is contained in:
@@ -658,7 +658,7 @@ function Details:CreateCurrentDpsFrame(parent, name)
|
||||
end
|
||||
|
||||
--frame strata
|
||||
f:SetFrameStrata (_detalhes.realtime_dps_meter.frame_settings.strata)
|
||||
f:SetFrameStrata(_detalhes.realtime_dps_meter.frame_settings.strata)
|
||||
|
||||
--calcule buffer size
|
||||
f.MaxBufferIndex = f.SampleSize * time_fraction * 100 --sample size in seconds * fraction * tick milliseconds
|
||||
@@ -713,8 +713,8 @@ function Details:CreateCurrentDpsFrame(parent, name)
|
||||
local yellowDamageDone = thisTickYellowDamage - f.LastYellowDamage
|
||||
|
||||
--add the damage to buffer
|
||||
tinsert (f.PlayerTeamBuffer, 1, playerTeamDamageDone)
|
||||
tinsert (f.YellowTeamBuffer, 1, yellowDamageDone)
|
||||
tinsert(f.PlayerTeamBuffer, 1, playerTeamDamageDone)
|
||||
tinsert(f.YellowTeamBuffer, 1, yellowDamageDone)
|
||||
|
||||
--save the current damage amount
|
||||
f.LastPlayerTeamDamage = thisTickPlayerTeamDamage
|
||||
@@ -811,7 +811,7 @@ function Details:CreateCurrentDpsFrame(parent, name)
|
||||
local groupDamageDoneOnThisTick = thisTickGroupDamage - f.LastTickGroupDamage
|
||||
|
||||
--add the damage to buffer
|
||||
tinsert (f.GroupBuffer, 1, groupDamageDoneOnThisTick)
|
||||
tinsert(f.GroupBuffer, 1, groupDamageDoneOnThisTick)
|
||||
|
||||
--save the current damage amount
|
||||
f.LastTickGroupDamage = thisTickGroupDamage
|
||||
|
||||
Reference in New Issue
Block a user