From 31d84a38efe66fb367d2835acd4fb007d1b36f80 Mon Sep 17 00:00:00 2001 From: Dusk-92 Date: Mon, 3 Aug 2026 09:31:24 +0200 Subject: [PATCH] Refactor roll frames for better UI and functionality Updated font size and frame dimensions for improved visibility. Adjusted item cache management and tooltip display logic. --- mods/improved-roll-frames.lua | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/mods/improved-roll-frames.lua b/mods/improved-roll-frames.lua index 71f1656..a227295 100644 --- a/mods/improved-roll-frames.lua +++ b/mods/improved-roll-frames.lua @@ -10,7 +10,7 @@ local module = ShaguTweaks:register({ module.enable = function(self) local _G = ShaguTweaks.GetGlobalEnv() - local font_default, font_size = "Fonts\\skurri.TTF", 14 + local font_default, font_size = "Fonts\\skurri.TTF", 15 ShaguTweaks.roll = CreateFrame("Frame", "STLootRoll", UIParent) ShaguTweaks.roll.frames = {} @@ -88,10 +88,10 @@ module.enable = function(self) end function ShaguTweaks.roll:CreateLootRoll(id) - local size = 20 + local size = 22 -- local rawborder, border = GetBorderSize() local border = 4 - local esize = 20 + local esize = 22 local f = CreateFrame("Frame", "STLootRollFrame" .. id, UIParent) local function CreateBackdrop(f,b,a) @@ -116,7 +116,7 @@ module.enable = function(self) f.backdrop:SetFrameStrata("BACKGROUND") f.hasItem = 1 - f:SetWidth(350) + f:SetWidth(385) f:SetHeight(size) f.icon = CreateFrame("Button", "STLootRollFrame" .. id .. "Icon", f)