From 80ca90c0c973917e6d18190d557fcb4c9340dd6c Mon Sep 17 00:00:00 2001 From: michaelsp Date: Thu, 10 Dec 2020 17:53:19 +0100 Subject: [PATCH] Added some comments for internal use. --- Options/GridUtils.lua | 2 +- modules/IndicatorMultiBar.lua | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Options/GridUtils.lua b/Options/GridUtils.lua index 9c5a7a7a..9e46a2b5 100644 --- a/Options/GridUtils.lua +++ b/Options/GridUtils.lua @@ -243,7 +243,7 @@ do image = icon, imageWidth = 34, imageHeight = 34, imageCoords = coords or titleCoords, name = string.format(titleMask, title, subtitle), desc = desc, - arg = arg, -- optional multipurpose argument + arg = arg, -- optional argument to inject action icons configuration, see Grid2Title widget in GridWidget.lua } end end diff --git a/modules/IndicatorMultiBar.lua b/modules/IndicatorMultiBar.lua index f2c96171..b6a55dc3 100644 --- a/modules/IndicatorMultiBar.lua +++ b/modules/IndicatorMultiBar.lua @@ -120,7 +120,7 @@ local function Bar_Update(self, parent, unit, status) if self.backAnchor or bar.myMaxIndex>1 then updates[bar] = true end - else + else -- update due a layout or groupType change not from a status notifying a change for i, status in ipairs(self.statuses) do values[i] = status:GetPercent(unit) or 0 end