- Auras and Voidzones rework: now shows the total damage, dps and percentage. Also fixed its tooltip where many times the damage applied on players was showing as zero.
- Enemies now show damage taken from players on the tooltip. - Right clicking an Enemy Real-Time Damage Taken bar, back to enemies instead of showing bookmark panel. - Enemy Real-Time Damage Taken now show spells used by the player on its tooltip. - Fixed a bug with the slash command show, where it was ignoring the window limit estabilished on options panel. - Fixed few bugs with scroll bars on dropdowns and player details window. - Tank comparison percentages now uses the same percentage calc as comparison for players.
This commit is contained in:
+5
-2
@@ -651,12 +651,15 @@ function gump:NewScrollBar (master, slave, x, y)
|
||||
|
||||
local current = slider_gump:GetValue()
|
||||
if (delta < 0) then
|
||||
if (current < slider_gump.scrollMax + (master.wheel_jump or 20)) then
|
||||
--baixo
|
||||
local minValue, maxValue = slider_gump:GetMinMaxValues()
|
||||
if (current + (master.wheel_jump or 20) < maxValue) then
|
||||
slider_gump:SetValue (current + (master.wheel_jump or 20))
|
||||
else
|
||||
slider_gump:SetValue (slider_gump.scrollMax)
|
||||
slider_gump:SetValue (maxValue)
|
||||
end
|
||||
elseif (delta > 0) then
|
||||
--cima
|
||||
if (current + (master.wheel_jump or 20) > 0) then
|
||||
slider_gump:SetValue (current - (master.wheel_jump or 20))
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user