Skip to content

Commit

Permalink
Fix for TBC
Browse files Browse the repository at this point in the history
  • Loading branch information
coolmodi committed Jun 22, 2021
1 parent 1101f25 commit 977831d
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions CChatNotifier.toc
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
## Interface: 11302
## Interface: 20501
## Title: CChatNotifier
## Author: coolmodi
## Version: 1.0
## Version: 1.1
## Notes: Watchs chat and notifies you if it finds words you look for.
## Notes-deDE: Beobachtet Chat und benachrichtigt dich wenn es gesuchte Wörter findet.
## SavedVariablesPerCharacter: CChatNotifier_settings, CChatNotifier_data
Expand Down
4 changes: 2 additions & 2 deletions UI/MainUI.lua
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ end
-- @param height (optional)
-- @param isMultiline (optional)
local function MakeEditBox(parent, maxLen, height, isMultiline)
local edit = CreateFrame("EditBox", nil, parent);
local edit = CreateFrame("EditBox", nil, parent, "BackdropTemplate");
edit:SetMaxLetters(maxLen);
edit:SetAutoFocus(false);
if height then
Expand Down Expand Up @@ -222,7 +222,7 @@ local function RemoveItem(self)
end

for i = 1, MAX_ITEMS, 1 do
local item = CreateFrame("Frame", nil, frame.scrollFrame);
local item = CreateFrame("Frame", nil, frame.scrollFrame, "BackdropTemplate");

item:SetHeight(LIST_ITEM_HEIGHT);
item:SetPoint("TOPLEFT", 0, -LIST_ITEM_HEIGHT * (i-1));
Expand Down
6 changes: 3 additions & 3 deletions UI/listFrame.lua
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ end
-- @param height (optional)
-- @param isMultiline (optional)
local function MakeEditBox(parent, maxLen, height, isMultiline)
local edit = CreateFrame("EditBox", nil, parent);
local edit = CreateFrame("EditBox", nil, parent, "BackdropTemplate");
edit:SetMaxLetters(maxLen);
edit:SetAutoFocus(false);
if height then
Expand Down Expand Up @@ -271,7 +271,7 @@ local function CreateListElement(pos)
return;
end

local item = CreateFrame("Frame", nil, scrollFrame);
local item = CreateFrame("Frame", nil, scrollFrame, "BackdropTemplate");
item:SetHeight(LISTITEMHEIGHT);

if pos == 1 then
Expand Down Expand Up @@ -302,7 +302,7 @@ local function CreateListElement(pos)
_addon:RemoveFromList(self:GetParent().searchString:GetText());
end)

item.disb = CreateFrame("Button", nil, item);
item.disb = CreateFrame("Button", nil, item, "BackdropTemplate");
item.disb:SetWidth(12);
item.disb:SetHeight(12);
item.disb:SetPoint("RIGHT", item.delb, "LEFT", -17, 0);
Expand Down

0 comments on commit 977831d

Please sign in to comment.