Use new SetSegment over TrocaTabela for the segment selector

This commit is contained in:
Flamanis
2023-07-08 02:14:57 -05:00
parent 0677e2e874
commit ba145bca12
2 changed files with 11 additions and 7 deletions
+4
View File
@@ -420,6 +420,10 @@ local instanceMixins = {
Details222.Instances.OnModeChanged(instance)
end,
SetSegmentFromCooltip = function(_, instance, segmentId, bForceChange)
return instance:SetSegment(segmentId, bForceChange)
end,
---change the segment shown in the instance, this changes the segmentID and also refresh the combat object in the instance
---@param instance instance
---@param segmentId segmentid