updates
- updated to delete sanguine workbench after dropping with the item delete setting - added open menu on mouse over of the button - Woodcutting now works
This commit is contained in:
@@ -45,7 +45,7 @@ end
|
||||
hideHover.Lable = hideHover:CreateFontString(nil , "BORDER", "GameFontNormal")
|
||||
hideHover.Lable:SetJustifyH("LEFT")
|
||||
hideHover.Lable:SetPoint("LEFT", 30, 0)
|
||||
hideHover.Lable:SetText("Only Show Menu on Hover")
|
||||
hideHover.Lable:SetText("Only Show Standalone Button on Hover")
|
||||
hideHover:SetScript("OnClick", function()
|
||||
if PM.db.ShowMenuOnHover then
|
||||
ProfessionMenuFrame_Menu:Show()
|
||||
@@ -74,11 +74,19 @@ end
|
||||
itemDel.Lable = itemDel:CreateFontString(nil , "BORDER", "GameFontNormal")
|
||||
itemDel.Lable:SetJustifyH("LEFT")
|
||||
itemDel.Lable:SetPoint("LEFT", 30, 0)
|
||||
itemDel.Lable:SetText("Delete anvil after summoning")
|
||||
itemDel.Lable:SetText("Delete vanity items after summoning")
|
||||
itemDel:SetScript("OnClick", function() PM.db.DeleteItem = not PM.db.DeleteItem end)
|
||||
|
||||
local autoMenu = CreateFrame("CheckButton", "ProfessionMenuOptions_AutoMenu", ProfessionMenuOptionsFrame, "UICheckButtonTemplate")
|
||||
autoMenu:SetPoint("TOPLEFT", 15, -200)
|
||||
autoMenu.Lable = autoMenu:CreateFontString(nil , "BORDER", "GameFontNormal")
|
||||
autoMenu.Lable:SetJustifyH("LEFT")
|
||||
autoMenu.Lable:SetPoint("LEFT", 30, 0)
|
||||
autoMenu.Lable:SetText("Show menu on hover")
|
||||
autoMenu:SetScript("OnClick", function() PM.db.autoMenu = not PM.db.autoMenu end)
|
||||
|
||||
local txtSize = CreateFrame("Button", "ProfessionMenuOptions_TxtSizeMenu", ProfessionMenuOptionsFrame, "UIDropDownMenuTemplate")
|
||||
txtSize:SetPoint("TOPLEFT", 15, -200)
|
||||
txtSize:SetPoint("TOPLEFT", 15, -240)
|
||||
txtSize.Lable = txtSize:CreateFontString(nil , "BORDER", "GameFontNormal")
|
||||
txtSize.Lable:SetJustifyH("LEFT")
|
||||
txtSize.Lable:SetPoint("LEFT", txtSize, 190, 0)
|
||||
|
||||
Reference in New Issue
Block a user