diff --git a/src/pages/drawing/game_drawing_png.astro b/src/pages/drawing/game_drawing_png.astro index 2faf29f..89edca7 100644 --- a/src/pages/drawing/game_drawing_png.astro +++ b/src/pages/drawing/game_drawing_png.astro @@ -326,17 +326,7 @@ import Layout from '../../layouts/Layout.astro'; wrapWidth = 200; } - const descrptText = this.add.text( - screenCenterX, - 90, - data.description, - { - font: `${responsiveFontSize}px quicksand`, - fill: '#60C6CB', - align: "center", - wordWrap: { width: window.innerWidth - wrapWidth } - } - ).setOrigin(0.5); + const descrptText = this.add.text(screenCenterX, 90, data.description, { font: `${responsiveFontSize}px quicksand`, fill: '#60C6CB', align: "center", wordWrap: { width: window.innerWidth - wrapWidth }}).setOrigin(0.5); // this.add.text(customWidth / 2 - learningWidth, customHeight / 2 - learningHeight, data.LearningArea, {font: `20px`}).setTint(0X7C4C23) // this.add.text(customWidth / 2 - learningWidth, customHeight / 2 - learningHeight + 20, data.LearningSubArea, {font: `20px`}).setTint(0X7C4C23) }) @@ -461,7 +451,7 @@ import Layout from '../../layouts/Layout.astro'; colorContainer.appendChild(colorEraserCont); - let colorViewButton = this.add.image(window.innerWidth / 7, window.innerHeight / 1.25, 'colorButton'); + let colorViewButton = this.add.image(window.innerWidth / 7, window.innerHeight / 1.15, 'colorButton'); if(!isMobile){ colorViewButton.setVisible(false); }