Skip to content

Commit f57be63

Browse files
committed
Disable spellchecking for exported lowercase filenames
1 parent dc98e2b commit f57be63

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
@@ -120,6 +120,7 @@ function TooltipClass:AddSeparator(size)
120120

121121
if self.tooltipHeader then
122122
local rarity = tostring(self.tooltipHeader):upper()
123+
-- spell-checker: disable
123124
local separatorConfigs = {
124125
RELIC = "Assets/itemsseparatorfoil.png",
125126
UNIQUE = "Assets/itemsseparatorunique.png",
@@ -128,6 +129,7 @@ function TooltipClass:AddSeparator(size)
128129
NORMAL = "Assets/itemsseparatorwhite.png",
129130
GEM = "Assets/itemsseparatorgem.png",
130131
}
132+
-- spell-checker: enable
131133
local separatorPath = separatorConfigs[rarity] or separatorConfigs.NORMAL
132134

133135
if not self.separatorImage or self.separatorImagePath ~= separatorPath then
@@ -310,6 +312,7 @@ function TooltipClass:Draw(x, y, w, h, viewPort)
310312
ttW = titleW + 50
311313
end
312314
end
315+
-- spell-checker: disable
313316
local headerInfluence = {
314317
Fractured = "Assets/fracturedicon.png",
315318
Veiled = "Assets/veiledicon.png",
@@ -339,6 +342,7 @@ function TooltipClass:Draw(x, y, w, h, viewPort)
339342
MASTERY = {left="Assets/masteryheaderunallocatedleft.png",middle="Assets/masteryheaderunallocatedmiddle.png",right="Assets/masteryheaderunallocatedright.png",height=38,sideWidth=33,middleWidth=38,textYOffset=3},
340343
MASTERYALLOC = {left="Assets/masteryheaderallocatedleft.png",middle="Assets/masteryheaderallocatedmiddle.png",right="Assets/masteryheaderallocatedright.png",height=38,sideWidth=33,middleWidth=38,textYOffset=3},
341344
}
345+
-- spell-checker: enable
342346
local config
343347
if self.tooltipHeader and main.showFlavourText and self.lines[1] and self.lines[1].text then
344348
local rarity = tostring(self.tooltipHeader):upper()

0 commit comments

Comments
 (0)