diff --git a/ChatBubblePool.lua b/ChatBubblePool.lua
index 962f2ba..4dfd24a 100644
--- a/ChatBubblePool.lua
+++ b/ChatBubblePool.lua
@@ -255,7 +255,7 @@ function ChatBubblePool.getChatBubble()
newChatBubble:SetWidth(300)
newChatBubble:SetHeight(300)
newChatBubble:SetMovable(true)
- newChatBubble:SetFrameStrata("LOW");
+ newChatBubble:SetFrameStrata("FULLSCREEN");
newChatBubble.isAvailable = false
table.insert(pool, newChatBubble);
@@ -292,7 +292,7 @@ function ChatBubblePool.getChatBubble()
chatBubbleBackground:SetPoint("BOTTOMLEFT",editBox,"CENTER",-16,-16);
chatBubbleBackground.padding = 32;
chatBubbleBackground:SetWidth(64 + chatBubbleBackground.padding);
- chatBubbleBackground:SetFrameStrata("BACKGROUND");
+ chatBubbleBackground:SetFrameStrata("HIGH");
chatBubbleBackground:SetScript("OnMouseDown", function(self) newChatBubble:StartMoving() end )
chatBubbleBackground:SetScript("OnMouseUp", function(self) newChatBubble:StopMovingOrSizing() end )
chatBubbleBackground:SetScript("OnClick", function(self) editBox:SetFocus() end);
@@ -314,7 +314,7 @@ function ChatBubblePool.getChatBubble()
local closeButton = CreateFrame("Button",frameName.."-CloseButton",chatBubbleBackground,"UIPanelCloseButton")
- closeButton:SetFrameStrata("LOW");
+ closeButton:SetFrameStrata("FULLSCREEN");
closeButton:SetPoint("CENTER",chatBubbleBackground,"TOPRIGHT",-4,-4);
closeButton:SetScript("OnClick",function(self) closeBubble(newChatBubble) end);
closeButton:SetScript("OnEnter",function(self) closeButton:SetAlpha(1) end);
@@ -351,7 +351,7 @@ function ChatBubblePool.getChatBubble()
nameBoxBackground:SetPoint("BOTTOMLEFT",nameBox,"BOTTOMLEFT",-paddingL,-nameBox.margin.D)
nameBoxBackground:SetPoint("TOPLEFT",nameBox,"TOPLEFT",-paddingL,nameBox.margin.T + 12);
nameBoxBackground:SetWidth(32);
- nameBoxBackground:SetFrameStrata("BACKGROUND");
+ nameBoxBackground:SetFrameStrata("HIGH");
nameBoxBackground:SetScript("OnClick", function(self) nameBox:SetFocus() end);
nameBoxBackground:SetScript("OnMouseDown", function(self) newChatBubble:StartMoving() end )
nameBoxBackground:SetScript("OnMouseUp", function(self) newChatBubble:StopMovingOrSizing() end )
@@ -383,7 +383,7 @@ function ChatBubblePool.getChatBubble()
local nameBoxColorPicker = CreateFrame("Button",frameName.."-ColorPickerButton",newChatBubble);
nameBoxColorPicker:SetSize(16,16);
- nameBoxColorPicker:SetFrameStrata("MEDIUM") -- Needs to be higher than the EditBox to override it
+ nameBoxColorPicker:SetFrameStrata("FULLSCREEN_DIALOG") -- Needs to be higher than the EditBox to override it
nameBox.colorPickerTex = nameBoxColorPicker:CreateTexture(frameName.."-ColorPickerButton-color","ARTWORK")
nameBox.colorPickerTex:SetPoint("TOPLEFT",2,-2);
nameBox.colorPickerTex:SetPoint("BOTTOMRIGHT",-2,2);
@@ -404,8 +404,8 @@ function ChatBubblePool.getChatBubble()
tail.tex:SetTexture("Interface\\Tooltips\\CHATBUBBLE-TAIL.BLP");
tail.tex:SetAllPoints();
tail.bottomOffset = 5;
- tail.topOffset = -3;
- tail.leftOffset = 3;
+ tail.topOffset = -4;
+ tail.leftOffset = 4;
tail.rightOffset = -5;
tail.minX = 8;
tail.minY = 8;
@@ -422,7 +422,7 @@ function ChatBubblePool.getChatBubble()
chatBubbleTailCatcher:SetAllPoints();
chatBubbleTailCatcher:SetScript("OnMouseDown",function(self, button) startMovingTail(tail, button) end);
chatBubbleTailCatcher:SetScript("OnMouseUp",function(self, button) stopMovingTail(tail, button) end);
- chatBubbleTailCatcher:SetFrameStrata("HIGH");
+ chatBubbleTailCatcher:SetFrameStrata("TOOLTIP");
newChatBubble.tail = tail;