Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 21 additions & 2 deletions EllesmereUIMinimap/EUI_Minimap_Options.lua
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ initFrame:SetScript("OnEvent", function(self)
_, h = W:SectionHeader(parent, SECTION_MINIMAP, y); y = y - h

_, h = W:DualRow(parent, y,
{ type="slider", text="Size", min=100, max=600, step=1,
{ type="slider", text="Size", min=100, max=1000, step=1,
getValue=function() local m = MinimapDB(); return m and m.mapSize or 140 end,
setValue=function(v)
local m = MinimapDB(); if not m then return end
Expand Down Expand Up @@ -174,6 +174,25 @@ initFrame:SetScript("OnEvent", function(self)
end })
y = y - h

-- Map Icon Size: scales the engine-drawn blips (herbs, ore, quest dots).
_, h = W:DualRow(parent, y,
{ type="slider", text="Map Icon Size (Blips)", min=0.5, max=3.0, step=0.05,
tooltip="Scales the tracking blips drawn on the map (herbs, ore, quest dots). The map itself keeps its size; other minimap elements are unaffected.",
getValue=function() local m = MinimapDB(); return m and m.blipScale or 1.0 end,
setValue=function(v)
local m = MinimapDB(); if not m then return end
m.blipScale = v
-- Drag = map-only preview (no relayout -> no icon shimmer);
-- one full refresh 0.2s after the slider settles.
if _G._EBS_PreviewBlipScale then _G._EBS_PreviewBlipScale(v) end
if _G._EBS_BlipDragTimer then _G._EBS_BlipDragTimer:Cancel() end
_G._EBS_BlipDragTimer = C_Timer.NewTimer(0.2, function()
RefreshMinimap()
end)
end },
{ type="label", text="" })
y = y - h

h = BuildVisibilityRow(W, parent, y, MinimapDB, RefreshMinimap); y = y - h

-- Shape | Button Backgrounds
Expand Down Expand Up @@ -462,7 +481,7 @@ initFrame:SetScript("OnEvent", function(self)
local fmRow
fmRow, h = W:DualRow(parent, y,
{ type="toggle", text="Free Move Buttons",
tooltip="When enabled, Shift+Click any minimap button (mail, calendar, tracking, addon buttons) to drag it to a custom position.",
tooltip="When enabled, Shift+Click any minimap button (mail, calendar, tracking, addon buttons) to drag it to a custom position. While dragging, buttons snap to nearby buttons and the minimap border; hold Ctrl together with Shift to disable snapping.",
getValue=function() local m = MinimapDB(); return m and m.freeMoveBtns end,
setValue=function(v)
local m = MinimapDB(); if not m then return end
Expand Down
Loading
Loading