From e6d39584fbf43c80afbf049ac50bf9b28093b9c5 Mon Sep 17 00:00:00 2001 From: Bjarke Istrup Pedersen Date: Fri, 23 Aug 2024 22:33:16 +0200 Subject: [PATCH] Optimize filter button position to allow for more filter buttons before clipping into text --- CHANGELOG.md | 4 ++++ QuestFrame.lua | 6 +++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9a05c8f..3520334 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +## v0.43.2 + +* Optimize filter button position to allow for more filter buttons before clipping into text. + ## v0.43.1 * Bugfixes for various issues, provided by Shauren on github. diff --git a/QuestFrame.lua b/QuestFrame.lua index c2dc1a2..73be61a 100644 --- a/QuestFrame.lua +++ b/QuestFrame.lua @@ -1086,10 +1086,10 @@ local function QuestFrame_Update() filterButton:ClearAllPoints() if prevFilter then filterButton:SetPoint("RIGHT", prevFilter, "LEFT", 5, 0) - filterButton:SetPoint("TOP", prevButton, "TOP", 0, 3) + filterButton:SetPoint("TOP", prevButton, "TOP", 0, 2) else - filterButton:SetPoint("RIGHT", prevButton.ButtonText, -3, 0) - filterButton:SetPoint("TOP", prevButton, "TOP", 0, 3) + filterButton:SetPoint("RIGHT", prevButton.ButtonText, 22, 0) + filterButton:SetPoint("TOP", prevButton, "TOP", 0, 2) end if optionKey ~= "SORT" then