Skip to content

Commit 565b3c8

Browse files
authored
chore: add some spellchecker directives (#1771)
1 parent 4589efa commit 565b3c8

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

src/Classes/Tooltip.lua

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@ function TooltipClass:AddSeparator(size)
9898

9999
if self.tooltipHeader then
100100
local rarity = tostring(self.tooltipHeader):upper()
101+
-- spell-checker: disable
101102
local separatorConfigs = {
102103
RELIC = "Assets/itemsseparatorfoil.png",
103104
UNIQUE = "Assets/itemsseparatorunique.png",
@@ -106,6 +107,7 @@ function TooltipClass:AddSeparator(size)
106107
NORMAL = "Assets/itemsseparatorwhite.png",
107108
GEM = "Assets/itemsseparatorgem.png",
108109
}
110+
-- spell-checker: enable
109111
local separatorPath = separatorConfigs[rarity] or separatorConfigs.NORMAL
110112

111113
if not self.separatorImage or self.separatorImagePath ~= separatorPath then
@@ -288,6 +290,7 @@ function TooltipClass:Draw(x, y, w, h, viewPort)
288290
ttW = titleW + 50
289291
end
290292
end
293+
-- spell-checker: disable
291294
local headerInfluence = {
292295
Fractured = "Assets/fractureditemsymbol.png",
293296
Desecrated = "Assets/veileditemsymbol.png",
@@ -309,6 +312,7 @@ function TooltipClass:Draw(x, y, w, h, viewPort)
309312
ORACLE_NOTABLE = {left="Assets/oraclenotablepassiveheaderleft.png", middle="Assets/oraclenotablepassiveheadermiddle.png", right="Assets/oraclenotablepassiveheaderright.png", height=38, sideWidth=38, middleWidth=32, textYOffset=4},
310313
ORACLE_KEYSTONE = {left="Assets/oraclekeystonepassiveheaderleft.png", middle="Assets/oraclekeystonepassiveheadermiddle.png", right="Assets/oraclekeystonepassiveheaderright.png", height=38, sideWidth=32, middleWidth=32, textYOffset=4},
311314
}
315+
-- spell-checker: enable
312316
local config
313317
if self.tooltipHeader and main.showFlavourText and self.lines[1] and self.lines[1].text then
314318
local rarity = tostring(self.tooltipHeader):upper()

0 commit comments

Comments
 (0)