Skip to content

Commit

Permalink
Optimize filter button position to allow for more filter buttons befo…
Browse files Browse the repository at this point in the history
…re clipping into text
  • Loading branch information
GurliGebis committed Aug 23, 2024
1 parent 5633726 commit e6d3958
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
6 changes: 3 additions & 3 deletions QuestFrame.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e6d3958

Please sign in to comment.