Skillet-Classic

Skillet-Classic

445k Downloads

Ilvl not displaying full value when above 2 digits long.

Chanizu opened this issue ยท 2 comments

commented

Item level is not displayed fully in the skillet window when it is more than 2 digits long.
ba8fcfa477b7a3bbc9536e2804bbf654

commented

Thank you for posting the full Skillet-Classic frame this time. The issue only occurs when the Grouping is set to Flat.

Please change line 1119 in MainFrame.lua as shown below and let me know if that fixes it.

+++ D:/World of Warcraft/_classic_/Interface/AddOns/Skillet-Classic/UI/MainFrame.lua	Sun Jul 14 16:11:45 2024
@@ -1116,7 +1116,7 @@
 			suffixText:Hide()
 			skillRankBar:Hide()
 			if self.db.profile.display_required_level or self.db.profile.display_item_level then
-				levelText:SetWidth(skill.depth*8+20)
+				levelText:SetWidth(math.max(skill.depth*8+20,28))
 			else
 				levelText:SetWidth(skill.depth*8)
 			end
commented

Yep, that change worked. Thank you <3