fix overlap issue

master
Subhodip Ghosh 2025-05-26 16:38:27 +05:30
parent 477d1d4813
commit 46afe928a0
1 changed files with 2 additions and 12 deletions

View File

@ -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);
}