bugfix - score fontsize
This commit is contained in:
@@ -108,7 +108,7 @@ class DashBoard extends EventManager {
|
|||||||
|
|
||||||
const pointsText = new Text()
|
const pointsText = new Text()
|
||||||
Object.assign(pointsText, {
|
Object.assign(pointsText, {
|
||||||
text:``, fontSize: 0.044, font: '/static/fonts/Montserrat-Bold.ttf',
|
text:``, fontSize: 0.044 * dashHeight, font: '/static/fonts/Montserrat-Bold.ttf',
|
||||||
outlineColor: 0x113377, outlineWidth: '3%', anchorX: 'center',
|
outlineColor: 0x113377, outlineWidth: '3%', anchorX: 'center',
|
||||||
})
|
})
|
||||||
pointsText.position.set(0.86 * dashWidth/2, 0.47 * dashHeight, -0.001);
|
pointsText.position.set(0.86 * dashWidth/2, 0.47 * dashHeight, -0.001);
|
||||||
|
|||||||
Reference in New Issue
Block a user