Skip to content

Commit

Permalink
fix(multiplayer): disable preFormattingMonospace for TextComponent
Browse files Browse the repository at this point in the history
  • Loading branch information
sokripon committed Dec 30, 2024
1 parent 9dc2af1 commit c17d46f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src-theme/src/routes/menu/multiplayer/Multiplayer.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@
:`data:image/png;base64,${server.icon}`}
title={server.name}
on:dblclick={() => connectToServer(server.address)}>
<TextComponent allowPreformatting={true} preFormattingMonospace={true} slot="subtitle" fontSize={18}
<TextComponent allowPreformatting={true} preFormattingMonospace={false} slot="subtitle" fontSize={18}
textComponent={server.ping <= 0 ? "§CCan't connect to server" : server.label}/>

<svelte:fragment slot="tag">
Expand Down

0 comments on commit c17d46f

Please sign in to comment.