Fixed an error while trying to move the window by clicking and holding on a window line

This commit is contained in:
Tercio Jose
2022-10-09 20:48:47 -03:00
parent 944178f76f
commit b588d5e30c
95 changed files with 1630 additions and 1662 deletions
+4 -4
View File
@@ -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