Skip to content

Commit

Permalink
Fix typo on commandBarFrame in config
Browse files Browse the repository at this point in the history
  • Loading branch information
Neogeekmo committed Jul 19, 2024
1 parent d01a2a8 commit 1074f25
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Config.lua
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ function AprRC.settings:InitializeSettings()
position = {},
isRecording = false,
},
commandsBarFrame = {
commandBarFrame = {
rotation = "HORIZONTAL",
position = {},
},
Expand Down
4 changes: 2 additions & 2 deletions frames/CommandsBar.lua
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,16 @@ local L = LibStub("AceLocale-3.0"):GetLocale("APR-Recorder")
local LibWindow = LibStub("LibWindow-1.1")

AprRC.CommandBar = AprRC:NewModule('CommandBar')
AprRC.CommandBar.btnList = {}

local FRAME_WIDTH = 80
local FRAME_HEIGHT = 35

AprRC.CommandBar.btnList = {}

---------------------------------------------------------------------------------------
--------------------------------- CommandBar Frames -----------------------------------
---------------------------------------------------------------------------------------

print('OUIIIIIIIIIIIIIIIIIIIII')
local CommandBarFrame = CreateFrame("Frame", "CommandBarFrame", UIParent, "BackdropTemplate")
CommandBarFrame:SetSize(FRAME_WIDTH, FRAME_HEIGHT)
CommandBarFrame:SetFrameStrata("MEDIUM")
Expand Down
2 changes: 0 additions & 2 deletions frames/RecorderBar.lua
Original file line number Diff line number Diff line change
Expand Up @@ -87,12 +87,10 @@ updateBtn:SetScript("OnClick", function()
AprRC.settings:OpenSettings(AprRC.title)
end)


---------------------------------------------------------------------------------------
----------------------------- Function Recorder Frames --------------------------------
---------------------------------------------------------------------------------------


function AprRC.record:OnInit()
LibWindow.RegisterConfig(RecordBarFrame, AprRC.settings.profile.recordBarFrame.position)
RecordBarFrame.RegisteredForLibWindow = true
Expand Down

0 comments on commit 1074f25

Please sign in to comment.