From 60f29df9a81571a30e11d5e54dfcfaeedc519904 Mon Sep 17 00:00:00 2001 From: Hendrik Leppkes Date: Fri, 10 Jan 2025 10:55:03 +0100 Subject: [PATCH] Replace OptionsButtonTemplate on all flavors --- Bartender4.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Bartender4.lua b/Bartender4.lua index 6fc5fbb..8435134 100644 --- a/Bartender4.lua +++ b/Bartender4.lua @@ -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) @@ -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"])