Skip to content

Commit

Permalink
Disable APR during record
Browse files Browse the repository at this point in the history
  • Loading branch information
Neogeekmo committed Jul 20, 2024
1 parent f20e4d0 commit 95c121a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions frames/RecorderBar.lua
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,13 @@ RecordBarFrame:SetBackdropColor(unpack(AprRC.Backdrop.defaultBackdrop))
local function UpdateRecordButton(button)
if AprRC.settings.profile.recordBarFrame.isRecording then
button.icon:SetTexture("Interface\\AddOns\\APR-Recorder\\assets\\icons\\stop")
APR.settings.profile.enableAddon = false
else
button.icon:SetTexture("Interface\\AddOns\\APR-Recorder\\assets\\icons\\rec")
APR.settings.profile.enableAddon = true
end
AprRC.CommandBar:RefreshFrameAnchor()
APR.settings:ToggleAddon()
end

local function CreateButton(parent, iconPath, message)
Expand Down

0 comments on commit 95c121a

Please sign in to comment.