Skip to content

Commit

Permalink
Replace OptionsButtonTemplate on all flavors
Browse files Browse the repository at this point in the history
  • Loading branch information
Nevcairiel committed Jan 10, 2025
1 parent c946ddd commit 60f29df
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Bartender4.lua
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ function Bartender4:ShowUnlockDialog()
desc:SetPoint("BOTTOMRIGHT", -18, 48)
desc:SetText(L["Bars unlocked. Move them now and click Lock when you are done."])

local snapping = CreateFrame("CheckButton", "Bartender4Snapping", f, WoW10 and "UICheckButtonTemplate" or "OptionsCheckButtonTemplate")
local snapping = CreateFrame("CheckButton", "Bartender4Snapping", f, "UICheckButtonTemplate")
_G[snapping:GetName() .. "Text"]:SetText(L["Bar Snapping"])

snapping:SetScript("OnShow", function(frame)
Expand All @@ -298,7 +298,7 @@ function Bartender4:ShowUnlockDialog()
setSnap(frame:GetChecked())
end)

local lockBars = CreateFrame("CheckButton", "Bartender4DialogLock", f, WoW10 and "UIPanelButtonTemplate" or "OptionsButtonTemplate")
local lockBars = CreateFrame("CheckButton", "Bartender4DialogLock", f, "UIPanelButtonTemplate")
lockBars:SetWidth(150)
_G[lockBars:GetName() .. "Text"]:SetText(L["Lock"])

Expand Down

0 comments on commit 60f29df

Please sign in to comment.