diff --git a/boot.lua b/boot.lua index 0483883e..6517c691 100644 --- a/boot.lua +++ b/boot.lua @@ -18,7 +18,7 @@ _detalhes.BFACORE = 131 --core version on BFA launch _detalhes.SHADOWLANDSCORE = 143 --core version on Shadowlands launch - _detalhes.dragonflight_beta_version = 22 + _detalhes.dragonflight_beta_version = 23 Details = _detalhes @@ -1010,3 +1010,15 @@ do _G ["BINDING_NAME_DETAILS_BOOKMARK10"] = format (Loc ["STRING_KEYBIND_BOOKMARK_NUMBER"], 10) end + +if (select(4, GetBuildInfo()) >= 100000) then + local f = CreateFrame("frame") + f:RegisterEvent("ADDON_ACTION_FORBIDDEN") + f:SetScript("OnEvent", function() + local text = StaticPopup1 and StaticPopup1.text and StaticPopup1.text:GetText() + if (text and text:find("Details")) then + --fix false-positive taints that are being attributed to random addons + StaticPopup1.button2:Click() + end + end) +end \ No newline at end of file diff --git a/frames/window_main.lua b/frames/window_main.lua index 9ffe6919..2f88b1cf 100644 --- a/frames/window_main.lua +++ b/frames/window_main.lua @@ -8104,7 +8104,6 @@ function _detalhes:AttributeMenu (enabled, pos_x, pos_y, font, size, color, side --local label = gump:NewLabel (self.floatingframe, nil, "DetailsAttributeStringInstance" .. self.meu_id, nil, "", "GameFontHighlightSmall") local label = gump:NewLabel (self.baseframe, nil, "DetailsAttributeStringInstance" .. self.meu_id, nil, "", "GameFontHighlightSmall") self.menu_attribute_string = label - self:RefreshTitleBarText() self.menu_attribute_string.owner_instance = self self.menu_attribute_string.Enabled = true self.menu_attribute_string.__enabled = true @@ -8116,6 +8115,8 @@ function _detalhes:AttributeMenu (enabled, pos_x, pos_y, font, size, color, side _detalhes:RegisterEvent (self.menu_attribute_string, "DETAILS_INSTANCE_CHANGEATTRIBUTE", self.menu_attribute_string.OnEvent) _detalhes:RegisterEvent (self.menu_attribute_string, "DETAILS_INSTANCE_CHANGEMODE", self.menu_attribute_string.OnEvent) _detalhes:RegisterEvent (self.menu_attribute_string, "DETAILS_INSTANCE_CHANGESEGMENT", self.menu_attribute_string.OnEvent) + + self:RefreshTitleBarText() end self.menu_attribute_string:Show() diff --git a/frames/window_playerbreakdown.lua b/frames/window_playerbreakdown.lua index a0bbbeb8..5b25f493 100644 --- a/frames/window_playerbreakdown.lua +++ b/frames/window_playerbreakdown.lua @@ -5605,8 +5605,8 @@ local function CriaTexturaBarra(newLine) local texturePath = SharedMedia:Fetch("statusbar", _detalhes.player_details_window.bar_texture) textureObject:SetTexture(texturePath) newLine.textura:SetStatusBarTexture(textureObject) - newLine.textura:SetStatusBarColor(.5, .5, .5, 1) --SetColorFill(r, g, b, a) - --newLine.textura:SetColorFill(.5, .5, .5, 1) --(r, g, b, a) + newLine.textura:SetStatusBarColor(.5, .5, .5, 1) + --newLine.textura:SetColorFill(.5, .5, .5, 1) --(r, g, b, a) --only in 10.0? newLine.textura:SetMinMaxValues(0, 100) local backgroundTexture = newLine.textura:CreateTexture(nil, "background") diff --git a/images/spec_icons_normal.tga b/images/spec_icons_normal.tga index 555b0926..97c837e2 100644 Binary files a/images/spec_icons_normal.tga and b/images/spec_icons_normal.tga differ diff --git a/images/spec_icons_normal_alpha.tga b/images/spec_icons_normal_alpha.tga index 5678019e..fe6e7ed8 100644 Binary files a/images/spec_icons_normal_alpha.tga and b/images/spec_icons_normal_alpha.tga differ