Minimap - Show clock on mouseover final

This commit is contained in:
Sattva
2025-01-22 01:16:31 +03:00
parent 6adc0427c1
commit b79f55eb04
+11 -1
View File
@@ -5954,8 +5954,18 @@ function LeaPlusLC:Player()
"poiWorldMapPOIFrame", "poiWorldMapPOIFrame",
"WorldMapPOIFrame", "WorldMapPOIFrame",
"QuestMapPOI", "QuestMapPOI",
"pfMiniMapPin" "pfMiniMapPin",
-- Add TimeManagerClockButton based on ClockMouseover option
LeaPlusLC["ClockMouseover"] == "Off" and "TimeManagerClockButton" or nil
} }
-- Remove nil values from the keepVisible table
for i = #keepVisible, 1, -1 do
if not keepVisible[i] then
table.remove(keepVisible, i)
end
end
if searchStr == "" then if searchStr == "" then
-- Set alpha of all buttons to 0 if MiniExcludeList is empty -- Set alpha of all buttons to 0 if MiniExcludeList is empty
for _, button in pairs(minimapButtons) do for _, button in pairs(minimapButtons) do