mirror of
https://github.com/overte-org/community-apps.git
synced 2025-04-25 13:52:51 +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;
|
||||
|
||||
if (hasGroup) {
|
||||
console.log("Has group")
|
||||
const backgroundImage = new Image();
|
||||
backgroundImage.setAttribute('crossorigin', 'anonymous');
|
||||
backgroundImage.src = groupBannerURL;
|
||||
|
@ -51,7 +50,7 @@ function drawNamePlate(name = "", userUUID = "", hasGroup = false, groupBannerUR
|
|||
}
|
||||
|
||||
// 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
|
||||
ctx.fillStyle = "#111111ee";
|
||||
|
|
Loading…
Reference in a new issue