Skip to content

Commit 891ed26

Browse files
committed
Fix wrong display of degree symbol.
1 parent 39d4118 commit 891ed26

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/platinpython/rgbblocks/item/PaintBucketItem.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ public void appendHoverText(ItemStack stack, Level worldIn, List<Component> tool
6666
MutableComponent brightness = new TranslatableComponent("gui.rgbblocks.brightness").append(": " +
6767
Math.round(hsb[2] *
6868
ColorSelectScreen.MAX_VALUE_SB));
69-
tooltip.add(hue.append("°, ").append(saturation).append("%, ").append(brightness).append("%"));
69+
tooltip.add(hue.append("\u00B0, ").append(saturation).append("%, ").append(brightness).append("%"));
7070
} else {
7171
tooltip.add(new TextComponent("#" + Integer.toHexString(color.getRGB()).substring(2)));
7272
}

0 commit comments

Comments
 (0)