Another round of polishing and few aditions
- Added bar texture "Skyline Compact". - Tooltip show 8 spells, up from 6. - Breakdown color scheme improved. - Backend changes.
This commit is contained in:
+16
-3
@@ -1590,10 +1590,10 @@
|
||||
GameCooltip:SetOption("RightBorderSize", 2) --offset between the right border and the right icon, default: -10 + offset
|
||||
GameCooltip:SetOption("VerticalOffset", 5) --amount of space to leave between the top border and the first line of the tooltip, default: 0
|
||||
GameCooltip:SetOption("RightTextMargin", 0) --offset between the right text to the right icon, default: -3
|
||||
GameCooltip:SetOption("AlignAsBlizzTooltip", true)
|
||||
GameCooltip:SetOption("AlignAsBlizzTooltipFrameHeightOffset", -8)
|
||||
GameCooltip:SetOption("AlignAsBlizzTooltip", false)
|
||||
GameCooltip:SetOption("LineHeightSizeOffset", 4)
|
||||
GameCooltip:SetOption("VerticalPadding", -4)
|
||||
GameCooltip:SetOption("YSpacingMod", -6)
|
||||
|
||||
GameCooltip:SetBackdrop(1, Details.cooltip_preset2_backdrop, bgColor, borderColor)
|
||||
end
|
||||
@@ -1775,6 +1775,12 @@
|
||||
self:RefreshMainWindow(true)
|
||||
end
|
||||
|
||||
function Details:RefreshAllMainWindowsTemp()
|
||||
return Details:RefreshMainWindow(-1)
|
||||
end
|
||||
|
||||
local nextBreakdownUpdateAt = 0
|
||||
|
||||
function Details:RefreshMainWindow(instanceObject, bForceRefresh) --getting deprecated soon
|
||||
if (not instanceObject or type(instanceObject) == "boolean") then
|
||||
bForceRefresh = instanceObject
|
||||
@@ -1813,7 +1819,14 @@
|
||||
local actorObject = Details:GetActorObjectFromBreakdownWindow()
|
||||
if (actorObject) then
|
||||
if (actorObject and not actorObject.__destroyed) then
|
||||
return actorObject:MontaInfo() --MontaInfo a nil value
|
||||
if (nextBreakdownUpdateAt < GetTime()) then
|
||||
if (Details.in_combat) then
|
||||
nextBreakdownUpdateAt = GetTime() + 0.5
|
||||
else
|
||||
nextBreakdownUpdateAt = GetTime() + 5
|
||||
end
|
||||
return actorObject:MontaInfo()
|
||||
end
|
||||
else
|
||||
Details:Msg("Invalid actor object on breakdown window.")
|
||||
if (actorObject.__destroyed) then
|
||||
|
||||
Reference in New Issue
Block a user