Commit 6faf3371 by Jonathan Thomas

Lower player name tag a bit, when no pending ... animation or message is visible

parent 59c8ecea
Pipeline #12024 passed with stage
in 25 seconds
...@@ -471,6 +471,8 @@ public class BubbleRenderer { ...@@ -471,6 +471,8 @@ public class BubbleRenderer {
if (PlayerMessageManager.isChatUIOpen(entity.getUuid())) { if (PlayerMessageManager.isChatUIOpen(entity.getUuid())) {
showPendingIcon = true; showPendingIcon = true;
scaledTextHeight += minTextHeight; // raise height of player name and icon scaledTextHeight += minTextHeight; // raise height of player name and icon
} else {
scaledTextHeight -= 15; // lower a bit more (when no pending icon is visible)
} }
// Translate above the player // Translate above the player
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment