Storyline

Storyline

1M Downloads

Missing chat bubble backdrop

Solanya opened this issue ยท 1 comments

commented

The BACKDROP_CHAT_BUBBLE_16_16 backdrop info was removed as Blizzard moved chat bubbles to NineSlice with uprezzed textures, meaning the current bubble background in Storyline is now missing. If you want to use the backdrop again, here is what was removed:

BACKDROP_CHAT_BUBBLE_16_16 = {
	bgFile = "Interface\\Tooltips\\ChatBubble-Background",
	edgeFile = "Interface\\Tooltips\\ChatBubble-Backdrop",
	tile = true,
	tileEdge = true,
	tileSize = 16,
	edgeSize = 16,
	insets = { left = 16, right = 16, top = 16, bottom = 16 },
};

Alternatively if you wanna use the new textures by switching to a NineSlice, that's the new ChatBubbleTemplate:

<Frame name="ChatBubbleTemplate" inherits="NineSlicePanelTemplate" virtual="true">
	<KeyValues>
		<KeyValue key="layoutType" value="ChatBubble" type="string"/>
		<KeyValue key="inset" value="16" type="number"/>
	</KeyValues>
	<Layers>
		<Layer level="ARTWORK">
			<FontString parentKey="String" inherits="ChatBubbleFont"/>
		</Layer>
		<Layer level="ARTWORK" textureSublevel="8">
			<Texture parentKey="Tail" atlas="ChatBubble-Tail" useAtlasSize="true"/>
		</Layer>
	</Layers>
	<Scripts>
		<OnLoad inherit="append">
			self.String:SetNonSpaceWrap(true);
			self:ClearAllPoints();
			self.String:ClearAllPoints();
			self:SetPoint("TOPLEFT", self.String, "TOPLEFT", -self.inset, self.inset);
			self:SetPoint("BOTTOMRIGHT", self.String, "BOTTOMRIGHT", self.inset, -self.inset);
		</OnLoad>
	</Scripts>
</Frame>
commented

Thanks for the info, that must have been a late change.