From 1afa56b659249e252f26629b147ade43f576cf0f Mon Sep 17 00:00:00 2001 From: Suvodip Ghosh Date: Thu, 19 Jun 2025 17:20:18 +0530 Subject: [PATCH] screen size fixed --- src/pages/drawing/game_drawing_jpg.astro | 2 +- src/pages/drawing/game_drawing_png.astro | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/pages/drawing/game_drawing_jpg.astro b/src/pages/drawing/game_drawing_jpg.astro index df3b884..a4a69ce 100644 --- a/src/pages/drawing/game_drawing_jpg.astro +++ b/src/pages/drawing/game_drawing_jpg.astro @@ -430,7 +430,7 @@ import Layout from '../../layouts/Layout.astro'; }else if(isTablet){ outlineImage.setDepth(-1).setScale(0.30); } else if(isSmallLaptop){ - outlineImage.setDepth(-1).setScale(0.26); + outlineImage.setDepth(-1).setScale(0.24); } else{ outlineImage.setDepth(-1).setScale(0.4); } diff --git a/src/pages/drawing/game_drawing_png.astro b/src/pages/drawing/game_drawing_png.astro index 216d22d..4fcc3df 100644 --- a/src/pages/drawing/game_drawing_png.astro +++ b/src/pages/drawing/game_drawing_png.astro @@ -414,9 +414,9 @@ import Layout from '../../layouts/Layout.astro'; // this.add.text(customWidth / 30, 0, "Drawing", textStyle); // this.add.image(customWidth / 2 * 1.6 - 0.5, 25, 'topLogo'); } - const outlineImage = this.add.image(customWidth / 2, customHeight / 2, 'outline'); + const outlineImage = this.add.image(customWidth / 2, customHeight / 2 + 20, 'outline'); if(isSmallMobile){ - outlineImage.setDepth(-1).setScale(0.23); + outlineImage.setDepth(-1).setScale(0.26); }else if(isMobile){ outlineImage.setDepth(-1).setScale(0.28 ); }else if(isTablet){