Fixed Streamer plugin bug
This commit is contained in:
@@ -19,8 +19,8 @@
|
||||
local addonName, Details222 = ...
|
||||
local version = GetBuildInfo()
|
||||
|
||||
Details.build_counter = 12877
|
||||
Details.alpha_build_counter = 12877 --if this is higher than the regular counter, use it instead
|
||||
Details.build_counter = 12879
|
||||
Details.alpha_build_counter = 12879 --if this is higher than the regular counter, use it instead
|
||||
Details.dont_open_news = true
|
||||
Details.game_version = version
|
||||
Details.userversion = version .. " " .. Details.build_counter
|
||||
|
||||
@@ -1,11 +1,16 @@
|
||||
|
||||
do
|
||||
local _
|
||||
local Details = Details
|
||||
|
||||
if (not Details) then
|
||||
print("Details! Not Found.")
|
||||
return
|
||||
end
|
||||
|
||||
---@type detailsframework
|
||||
local detailsFramework = DetailsFramework
|
||||
|
||||
local CONST_COMPARETYPE_SPEC = 1
|
||||
local CONST_COMPARETYPE_SEGMENT = 2
|
||||
|
||||
@@ -125,9 +130,6 @@ do
|
||||
--> create a plugin object
|
||||
local compareTwo = Details:NewPluginObject("Details_Compare2", _G.DETAILSPLUGIN_ALWAYSENABLED)
|
||||
|
||||
---@type detailsframework
|
||||
local detailsFramework = DetailsFramework
|
||||
|
||||
--> set the description
|
||||
compareTwo:SetPluginDescription("Replaces the default comparison window on the player breakdown.")
|
||||
|
||||
@@ -1902,12 +1904,15 @@ do
|
||||
newComparisonFrame.titleIcon = detailsFramework:CreateTexture(newComparisonFrame)
|
||||
newComparisonFrame.titleIcon:SetPoint("topleft", newComparisonFrame, "topleft", 0, comparisonFrameSettings.playerNameYOffset)
|
||||
|
||||
--player name shown above the scrolls
|
||||
--player name or segment name shown above the scrolls
|
||||
---@type df_label
|
||||
newComparisonFrame.titleLabel = detailsFramework:CreateLabel(newComparisonFrame, "")
|
||||
newComparisonFrame.titleLabel:SetPoint("left", newComparisonFrame.titleIcon, "right", 2, 0)
|
||||
newComparisonFrame.titleLabel.fontsize = comparisonFrameSettings.playerNameSize
|
||||
|
||||
--combat selector dropdown
|
||||
--todo: create a dropdown to select the combat
|
||||
|
||||
--grandient texture above the comparison frame
|
||||
local gradientTitle = detailsFramework:CreateTexture(newComparisonFrame, {gradient = "vertical", fromColor = {0, 0, 0, 0.25}, toColor = "transparent"}, 1, 16, "artwork", {0, 1, 0, 1})
|
||||
gradientTitle:SetPoint("bottomleft", newComparisonFrame, "topleft", 0, 0)
|
||||
|
||||
@@ -63,6 +63,8 @@ local iconSize = 16
|
||||
--default icon for an attack on a monster
|
||||
local defaultAttackIcon = [[Interface\CURSOR\UnableAttack]]
|
||||
|
||||
local GetSpellInfo = GetSpellInfo
|
||||
|
||||
local function CreatePluginFrames()
|
||||
--shortcut for details fade function
|
||||
local fader = Details.FadeHandler.Fader
|
||||
|
||||
Reference in New Issue
Block a user