diff --git a/src/lib/Dashboard.js b/src/lib/Dashboard.js index c1ecadb..d961d15 100644 --- a/src/lib/Dashboard.js +++ b/src/lib/Dashboard.js @@ -108,7 +108,7 @@ class DashBoard extends EventManager { const pointsText = new Text() 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', }) pointsText.position.set(0.86 * dashWidth/2, 0.47 * dashHeight, -0.001);