From 5099565817873b13fd0041c28675db1324c928c5 Mon Sep 17 00:00:00 2001 From: Suvodip Ghosh Date: Fri, 20 Jun 2025 11:47:58 +0530 Subject: [PATCH] s1 --- src/layouts/Layout.astro | 2 +- src/pages/drawing/game_drawing_png.astro | 4 ++-- src/pages/test-game.astro | 14 ++++++++++++++ 3 files changed, 17 insertions(+), 3 deletions(-) create mode 100644 src/pages/test-game.astro diff --git a/src/layouts/Layout.astro b/src/layouts/Layout.astro index dd65760..fb54dbb 100644 --- a/src/layouts/Layout.astro +++ b/src/layouts/Layout.astro @@ -10,7 +10,7 @@ const { title } = Astro.props; - + diff --git a/src/pages/drawing/game_drawing_png.astro b/src/pages/drawing/game_drawing_png.astro index 4f32aad..8e40a9f 100644 --- a/src/pages/drawing/game_drawing_png.astro +++ b/src/pages/drawing/game_drawing_png.astro @@ -418,13 +418,13 @@ import Layout from '../../layouts/Layout.astro'; if(isSmallMobile){ outlineImage.setDepth(1).setScale(0.26); }else if(isMobile){ - outlineImage.setDepth(1).setScale(0.28 ); + outlineImage.setDepth(1).setScale(0.28); }else if(isTablet){ outlineImage.setDepth(1).setScale(0.30); } else if(isSmallLaptop){ outlineImage.setDepth(1).setScale(0.26); } else{ - outlineImage.setDepth(1).setScale(0.4); + outlineImage.setDepth(1).setScale(0.3); } const maskGraphics = this.make.graphics(); diff --git a/src/pages/test-game.astro b/src/pages/test-game.astro new file mode 100644 index 0000000..5ff0c27 --- /dev/null +++ b/src/pages/test-game.astro @@ -0,0 +1,14 @@ +--- +import Layout from "../layouts/Layout.astro" +--- + +
+ +
+