From e87e89d966e7b89292d353e71420127ce454f9bc Mon Sep 17 00:00:00 2001 From: Tercio Jose Date: Thu, 23 Mar 2023 13:17:53 -0300 Subject: [PATCH] release for the new patch --- boot.lua | 6 ++++++ classes/class_instance.lua | 5 ++++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/boot.lua b/boot.lua index 4f0cf88e1..902a2be80 100644 --- a/boot.lua +++ b/boot.lua @@ -95,6 +95,12 @@ do local Loc = _G.LibStub("AceLocale-3.0"):GetLocale("Details") + --change logs + --[=[ + + + --]=] + local news = { {"v10.0.5.10661.147", "Mar 1st, 2023"}, "Major fixes and updates on the Event Tracker feature (for streamers).", diff --git a/classes/class_instance.lua b/classes/class_instance.lua index 38082692b..d5cb076ba 100644 --- a/classes/class_instance.lua +++ b/classes/class_instance.lua @@ -274,6 +274,7 @@ local instanceMixins = { ---@param segmentId segmentid ---@param bForceChange boolean|nil SetSegment = function(instance, segmentId, bForceChange) + if true then return end local currentSegment = instance:GetSegmentId() if (segmentId ~= currentSegment or bForceChange) then --check if the instance is frozen @@ -324,6 +325,8 @@ local instanceMixins = { ---@param subAttributeId attributeid ---@param modeId modeid SetDisplay = function(instance, segmentId, attributeId, subAttributeId, modeId) + if true then return end + --change the mode of the window if the mode is different ---@type modeid local currentModeId = instance:GetMode() @@ -369,7 +372,7 @@ local instanceMixins = { end end - if (subAttributeId ~= currentSubAttributeId or bHasMainAttributeChanged) then + if (type(subAttributeId) == "number" and subAttributeId ~= currentSubAttributeId or bHasMainAttributeChanged) then instance.sub_atributo = subAttributeId instance.sub_atributo_last[instance.atributo] = instance.sub_atributo instance:ChangeIcon()