3 Commits

Author SHA1 Message Date
florian.berthold a671b0871f ci(release): hide auto-generated source archives (hide_archive_links) 2026-05-29 20:51:16 +02:00
florian.berthold d6395b3592 fix(minimap): correct stale right-click tooltip strings
release / release (push) Successful in 3s
2026-05-29 10:43:54 +02:00
florian.berthold 3fd8ece1ff Surface 'Mute error sound' as a System-page checkbox
release / release (push) Successful in 3s
Move the Sound_EnableErrorSpeech toggle out of the Faster Looting cog
sub-panel into a top-level checkbox on the System page (Graphics and
Sound). The handler is now standalone and applies on login + on click
regardless of the Faster Looting feature, instead of only existing when
faster auto loot was enabled. Removes the buried duplicate and stops the
loot-panel reset from clobbering the setting.
2026-05-28 22:58:16 +02:00
2 changed files with 21 additions and 16 deletions
+1 -1
View File
@@ -37,7 +37,7 @@ jobs:
RID=$(curl -sf -X POST -H "Authorization: token $GITEA_TOKEN" \ RID=$(curl -sf -X POST -H "Authorization: token $GITEA_TOKEN" \
-H "Content-Type: application/json" \ -H "Content-Type: application/json" \
"$API/repos/$REPO/releases" \ "$API/repos/$REPO/releases" \
-d "$(jq -nc --arg t "$TAG" '{tag_name:$t,name:$t,draft:false,prerelease:false}')" \ -d "$(jq -nc --arg t "$TAG" '{tag_name:$t,name:$t,draft:false,prerelease:false,hide_archive_links:true}')" \
| jq -r '.id') | jq -r '.id')
fi fi
echo "release id: $RID" echo "release id: $RID"
+20 -15
View File
@@ -1761,6 +1761,22 @@ function LeaPlusLC:Isolated()
end end
----------------------------------------------------------------------
-- Mute error sound (standalone, independent of Faster Looting)
----------------------------------------------------------------------
do
local function SetMuteErrorSpeech()
if LeaPlusLC["MuteErrorSpeech"] == "On" then
SetCVar("Sound_EnableErrorSpeech", 0)
else
SetCVar("Sound_EnableErrorSpeech", 1)
end
end
SetMuteErrorSpeech()
LeaPlusCB["MuteErrorSpeech"]:HookScript("OnClick", SetMuteErrorSpeech)
end
---------------------------------------------------------------------- ----------------------------------------------------------------------
-- Faster looting -- Faster looting
---------------------------------------------------------------------- ----------------------------------------------------------------------
@@ -1785,7 +1801,7 @@ function LeaPlusLC:Isolated()
LeaPlusLC:MakeCB(FasterLootPanel, "FasterErrorFrame", "Faster Error Frame", 16, -112, false, "If checked, your red error text frame, will be faster to fade|n(1 second instead of 5).") LeaPlusLC:MakeCB(FasterLootPanel, "FasterErrorFrame", "Faster Error Frame", 16, -112, false, "If checked, your red error text frame, will be faster to fade|n(1 second instead of 5).")
LeaPlusLC:MakeCB(FasterLootPanel, "NoLootWorldforged", "Skip auto-loot for Worldforged items", 16, -132, false, "If checked, worldforged items will be left in the loot window instead of being auto-looted, so you can decide which ones to keep.") LeaPlusLC:MakeCB(FasterLootPanel, "NoLootWorldforged", "Skip auto-loot for Worldforged items", 16, -132, false, "If checked, worldforged items will be left in the loot window instead of being auto-looted, so you can decide which ones to keep.")
LeaPlusLC:MakeCB(FasterLootPanel, "HideCooldownErrors", "Hide 'Ability not ready' warnings", 16, -152, false, "If checked, the red 'Ability not ready', 'Spell is not ready' and 'Another action is in progress' messages are suppressed.|nOther errors (out of range, line of sight, etc.) still appear.") LeaPlusLC:MakeCB(FasterLootPanel, "HideCooldownErrors", "Hide 'Ability not ready' warnings", 16, -152, false, "If checked, the red 'Ability not ready', 'Spell is not ready' and 'Another action is in progress' messages are suppressed.|nOther errors (out of range, line of sight, etc.) still appear.")
LeaPlusLC:MakeCB(FasterLootPanel, "MuteErrorSpeech", "Mute error sound", 16, -172, false, "If checked, the spoken error sound (e.g. \"I can't do that yet\") is silenced.|nToggles the Sound_EnableErrorSpeech CVar.") -- "Mute error sound" moved to its own checkbox on the System page (see MuteErrorSpeech on Page7)
LeaPlusLC:MakeTx(FasterLootPanel, "Full Inventory Sound", 356, -72) LeaPlusLC:MakeTx(FasterLootPanel, "Full Inventory Sound", 356, -72)
LeaPlusLC:MakeSL(FasterLootPanel, "FullInvSound", "Drag to set the desired sound played when your inventory is Full. Set 0 to disable sound.", 0, 3, 1, 356, -92, "%.0f") LeaPlusLC:MakeSL(FasterLootPanel, "FullInvSound", "Drag to set the desired sound played when your inventory is Full. Set 0 to disable sound.", 0, 3, 1, 356, -92, "%.0f")
@@ -1842,19 +1858,9 @@ function LeaPlusLC:Isolated()
LeaPlusLC.cooldownErrorFilterInstalled = true LeaPlusLC.cooldownErrorFilterInstalled = true
end end
local function SetMuteErrorSpeech()
if LeaPlusLC["MuteErrorSpeech"] == "On" then
SetCVar("Sound_EnableErrorSpeech", 0)
else
SetCVar("Sound_EnableErrorSpeech", 1)
end
end
SetMuteErrorSpeech()
LeaPlusCB["FullInvSound"]:HookScript("OnValueChanged", SetFullInvSliderText) LeaPlusCB["FullInvSound"]:HookScript("OnValueChanged", SetFullInvSliderText)
LeaPlusCB["SmallerErrorFrame"]:HookScript("OnClick", SetErrorFrameHeight) LeaPlusCB["SmallerErrorFrame"]:HookScript("OnClick", SetErrorFrameHeight)
LeaPlusCB["FasterErrorFrame"]:HookScript("OnClick", SetErroFrameFadeTime) LeaPlusCB["FasterErrorFrame"]:HookScript("OnClick", SetErroFrameFadeTime)
LeaPlusCB["MuteErrorSpeech"]:HookScript("OnClick", SetMuteErrorSpeech)
@@ -1877,11 +1883,9 @@ function LeaPlusLC:Isolated()
LeaPlusLC["FasterErrorFrame"] = "Off" LeaPlusLC["FasterErrorFrame"] = "Off"
LeaPlusLC["NoLootWorldforged"] = "Off" LeaPlusLC["NoLootWorldforged"] = "Off"
LeaPlusLC["HideCooldownErrors"] = "Off" LeaPlusLC["HideCooldownErrors"] = "Off"
LeaPlusLC["MuteErrorSpeech"] = "Off"
LeaPlusLC["FullInvSound"] = 1 LeaPlusLC["FullInvSound"] = 1
UIErrorsFrame:SetHeight(60) UIErrorsFrame:SetHeight(60)
UIErrorsFrame:SetTimeVisible(5) UIErrorsFrame:SetTimeVisible(5)
SetCVar("Sound_EnableErrorSpeech", 1)
-- Refresh panel -- Refresh panel
FasterLootPanel:Hide(); FasterLootPanel:Hide();
FasterLootPanel:Show() FasterLootPanel:Show()
@@ -11394,7 +11398,7 @@ function LeaPlusLC:Player()
end end
tooltip:AddLine("Leatrix Plus") tooltip:AddLine("Leatrix Plus")
tooltip:AddLine("|cffeda55fClick|r |cff99ff00to open Leatrix Plus options.|r") tooltip:AddLine("|cffeda55fClick|r |cff99ff00to open Leatrix Plus options.|r")
tooltip:AddLine("|cffeda55fRight-Click|r |cff99ff00to reload the user interface.|r") tooltip:AddLine("|cffeda55fRight-Click|r |cff99ff00to open Leatrix Plus options.|r")
-- Toggle error message line color based on HideErrorMessages state -- Toggle error message line color based on HideErrorMessages state
if LeaPlusLC["HideErrorMessages"] == "On" then if LeaPlusLC["HideErrorMessages"] == "On" then
@@ -20445,6 +20449,7 @@ LeaPlusLC:MakeCB(LeaPlusLC[pg], "SetWeatherDensity", "Set weather density", 146,
LeaPlusLC:MakeCB(LeaPlusLC[pg], "MaxCameraZoom", "Max camera zoom", 146, -152, false, "If checked, you will be able to zoom out to a greater distance.") LeaPlusLC:MakeCB(LeaPlusLC[pg], "MaxCameraZoom", "Max camera zoom", 146, -152, false, "If checked, you will be able to zoom out to a greater distance.")
LeaPlusLC:MakeCB(LeaPlusLC[pg], "ViewPortEnable", "Enable viewport", 146, -172, true, "If checked, you will be able to create a viewport. A viewport adds adjustable black borders around the game world.|n|nThe borders are placed on top of the game world but under the UI so you can place UI elements over them.") LeaPlusLC:MakeCB(LeaPlusLC[pg], "ViewPortEnable", "Enable viewport", 146, -172, true, "If checked, you will be able to create a viewport. A viewport adds adjustable black borders around the game world.|n|nThe borders are placed on top of the game world but under the UI so you can place UI elements over them.")
LeaPlusLC:MakeCB(LeaPlusLC[pg], "NoRestedEmotes", "Silence rested emotes", 146, -192, true, "If checked, emote sounds will be silenced while your character is resting or at the Grim Guzzler.|n|nEmote sounds will be enabled at all other times.") LeaPlusLC:MakeCB(LeaPlusLC[pg], "NoRestedEmotes", "Silence rested emotes", 146, -192, true, "If checked, emote sounds will be silenced while your character is resting or at the Grim Guzzler.|n|nEmote sounds will be enabled at all other times.")
LeaPlusLC:MakeCB(LeaPlusLC[pg], "MuteErrorSpeech", "Mute error sound", 146, -212, false, "If checked, the spoken error sound (e.g. \"I can't do that yet\", \"Not enough rage\") is silenced for all failed casts, spells and attacks.|n|nToggles the Sound_EnableErrorSpeech CVar.")
--LeaPlusLC:MakeCB(LeaPlusLC[pg], "MuteGameSounds" , "Mute game sounds" , 146, -212, false, "If checked, you will be able to mute a selection of game sounds.") --LeaPlusLC:MakeCB(LeaPlusLC[pg], "MuteGameSounds" , "Mute game sounds" , 146, -212, false, "If checked, you will be able to mute a selection of game sounds.")
--LeaPlusLC:MakeCB(LeaPlusLC[pg], "MuteCustomSounds" , "Mute custom sounds" , 146, -232, false, "If checked, you will be able to mute your own choice of sounds.") --LeaPlusLC:MakeCB(LeaPlusLC[pg], "MuteCustomSounds" , "Mute custom sounds" , 146, -232, false, "If checked, you will be able to mute your own choice of sounds.")
@@ -20473,7 +20478,7 @@ LeaPlusLC:CfgBtn("ModFasterLootingBtn", LeaPlusCB["FasterLooting"])
pg = "Page8"; pg = "Page8";
LeaPlusLC:MakeTx(LeaPlusLC[pg], "Addon", 146, -72); LeaPlusLC:MakeTx(LeaPlusLC[pg], "Addon", 146, -72);
LeaPlusLC:MakeCB(LeaPlusLC[pg], "ShowMinimapIcon", "Show minimap button", 146, -92, false, "If checked, a minimap button will be available.|n|nClick - Toggle options panel.|n|nRight-Click - Reload UI.") LeaPlusLC:MakeCB(LeaPlusLC[pg], "ShowMinimapIcon", "Show minimap button", 146, -92, false, "If checked, a minimap button will be available.|n|nClick - Toggle options panel.|n|nRight-Click - Toggle options panel.")
-- todo: add more minimap button click functions -- todo: add more minimap button click functions
--LeaPlusLC:MakeCB(LeaPlusLC[pg], "ShowMinimapIcon" , "Show minimap button" , 146, -92, false, "If checked, a minimap button will be available.|n|nClick - Toggle options panel.|n|nSHIFT-click - Toggle music.|n|nALT-click - Toggle errors (if enabled).|n|nCTRL/SHIFT-click - Toggle Zygor (if installed).|n|nCTRL/ALT-click - Toggle windowed mode.") --LeaPlusLC:MakeCB(LeaPlusLC[pg], "ShowMinimapIcon" , "Show minimap button" , 146, -92, false, "If checked, a minimap button will be available.|n|nClick - Toggle options panel.|n|nSHIFT-click - Toggle music.|n|nALT-click - Toggle errors (if enabled).|n|nCTRL/SHIFT-click - Toggle Zygor (if installed).|n|nCTRL/ALT-click - Toggle windowed mode.")