mirror of
https://github.com/overte-org/community-apps.git
synced 2025-07-14 06:27:02 +02:00
Increase radius.
This commit is contained in:
parent
00efd88d45
commit
9712718ea6
1 changed files with 1 additions and 2 deletions
|
@ -8,7 +8,6 @@ function drawNamePlate(name = "", userUUID = "", hasGroup = false, groupBannerUR
|
||||||
canvas.height = groupBannerHeight + nameTagHeight;
|
canvas.height = groupBannerHeight + nameTagHeight;
|
||||||
|
|
||||||
if (hasGroup) {
|
if (hasGroup) {
|
||||||
console.log("Has group")
|
|
||||||
const backgroundImage = new Image();
|
const backgroundImage = new Image();
|
||||||
backgroundImage.setAttribute('crossorigin', 'anonymous');
|
backgroundImage.setAttribute('crossorigin', 'anonymous');
|
||||||
backgroundImage.src = groupBannerURL;
|
backgroundImage.src = groupBannerURL;
|
||||||
|
@ -51,7 +50,7 @@ function drawNamePlate(name = "", userUUID = "", hasGroup = false, groupBannerUR
|
||||||
}
|
}
|
||||||
|
|
||||||
// Nametag background with inset border
|
// Nametag background with inset border
|
||||||
const radius = 30; // Define the radius of the rounded corners
|
const radius = 160; // Define the radius of the rounded corners
|
||||||
|
|
||||||
// Main fill color
|
// Main fill color
|
||||||
ctx.fillStyle = "#111111ee";
|
ctx.fillStyle = "#111111ee";
|
||||||
|
|
Loading…
Reference in a new issue