font fix face
This commit is contained in:
parent
63209499ac
commit
852fc83db2
@ -360,7 +360,7 @@ drawRectangle(file)
|
||||
// context.save();
|
||||
/// text color
|
||||
// get width of text
|
||||
context.font = "bold 75px Times New Roman";
|
||||
context.font = "75px Times New Roman"
|
||||
var width = context.measureText(this.similarity+'%').width;
|
||||
var height = context.measureText(this.similarity+'%').height;
|
||||
context.fillStyle = 'rgb(255 255 255 / 70%)';
|
||||
|
||||
Loading…
Reference in New Issue
Block a user