From 47a8ae759156eec97f3165d73cbaeaaf83af0e38 Mon Sep 17 00:00:00 2001 From: Suvodip Ghosh Date: Fri, 20 Jun 2025 11:54:55 +0530 Subject: [PATCH] s1 --- src/pages/drawing/game_drawing_png.astro | 2 +- src/pages/test-game.astro | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/pages/drawing/game_drawing_png.astro b/src/pages/drawing/game_drawing_png.astro index 5b2338e..184dce6 100644 --- a/src/pages/drawing/game_drawing_png.astro +++ b/src/pages/drawing/game_drawing_png.astro @@ -336,7 +336,7 @@ import Layout from '../../layouts/Layout.astro'; wrapWidth = 200; } - const descrptText = this.add.text(screenCenterX, isSmallMobile ? 100 : isMobile ? 130 : 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, isSmallMobile ? 70 : isMobile ? 80 : 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) }) diff --git a/src/pages/test-game.astro b/src/pages/test-game.astro index 5ff0c27..b7d77ef 100644 --- a/src/pages/test-game.astro +++ b/src/pages/test-game.astro @@ -5,10 +5,10 @@ import Layout from "../layouts/Layout.astro"