fix spacement when optionBtn gone (#2)
This commit is contained in:
parent
a778a33f99
commit
ac47731f19
1 changed files with 5 additions and 1 deletions
|
|
@ -846,7 +846,11 @@ function Frame:PlaceSortBtn()
|
|||
if self:HasSortBtn() then
|
||||
local toggle = self:GetSortBtn() or self:CreateSortBtn()
|
||||
toggle:ClearAllPoints()
|
||||
toggle:SetPoint('TOPRIGHT', self, 'TOPRIGHT', -58, -8)
|
||||
if self:HasOptionsToggle() then
|
||||
toggle:SetPoint('TOPRIGHT', self, 'TOPRIGHT', -57, -8)
|
||||
else
|
||||
toggle:SetPoint('TOPRIGHT', self, 'TOPRIGHT', -32, -8)
|
||||
end
|
||||
toggle:Show()
|
||||
|
||||
return toggle:GetWidth(), toggle:GetHeight()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue