three-spritetext
three-spritetext copied to clipboard
What is this black border around the canvas?
I'm seeing a black border and I'm not sure what's causing it and can't get rid of it. Seeing it on all browsers I try.
Here's my usage:
const label = new SpriteText("Sprite Text", 9);
label.borderColor = "white";
label.padding = 2;
label.borderRadius = 3;
label.backgroundColor = '#214a64';
this.add(label);
@patrickatkeylogic thanks for reaching out.
I'm unable to reproduce your case. Could you make a simple example on https://codepen.io/ that shows your case?
Also, are you setting any borderWidth
in your code?