Update minimap-tweaks.lua
This commit is contained in:
@@ -4,7 +4,7 @@ local T = ShaguTweaks.T
|
|||||||
local module = ShaguTweaks:register({
|
local module = ShaguTweaks:register({
|
||||||
title = T["MiniMap Tweaks"],
|
title = T["MiniMap Tweaks"],
|
||||||
description = T["Hides unnecessary mini map buttons and allows to zoom using the mouse wheel."],
|
description = T["Hides unnecessary mini map buttons and allows to zoom using the mouse wheel."],
|
||||||
expansions = { ["vanilla"] = true, ["tbc"] = true },
|
expansions = { ["vanilla"] = true },
|
||||||
category = T["World & MiniMap"],
|
category = T["World & MiniMap"],
|
||||||
enabled = true,
|
enabled = true,
|
||||||
})
|
})
|
||||||
@@ -27,4 +27,4 @@ module.enable = function(self)
|
|||||||
Minimap:SetScript("OnMouseWheel", function()
|
Minimap:SetScript("OnMouseWheel", function()
|
||||||
if(arg1 > 0) then Minimap_ZoomIn() else Minimap_ZoomOut() end
|
if(arg1 > 0) then Minimap_ZoomIn() else Minimap_ZoomOut() end
|
||||||
end)
|
end)
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user