change small t latter shape
This commit is contained in:
@@ -64,7 +64,7 @@ import Layout from '../../layouts/Layout.astro';
|
||||
const data = fetch(`https://management.beanstalkedu.com/items/game_drawing/${encodeURIComponent(paramsID)}`)
|
||||
.then(response => response.json())
|
||||
.then(({data}) => {
|
||||
colorList = data.colors;
|
||||
// colorList = data.colors;
|
||||
const {image} = data;
|
||||
assetsList.image = "https://management.beanstalkedu.com/assets/" + image; // + "?width=450";
|
||||
const config = {
|
||||
@@ -225,9 +225,8 @@ import Layout from '../../layouts/Layout.astro';
|
||||
// Append the color picker to the color container data
|
||||
colorContainer.appendChild(colorPicker);
|
||||
// const colors = data.colors;
|
||||
// console.log(colorList)
|
||||
var colors = colorList;
|
||||
// const colors = ['#ff0000', '#00ff00', '#0000ff', '#ffff00', '#ff00ff', '#00ffff'];
|
||||
// var colors = colorList;
|
||||
const colors = ['#ff0000', '#00ff00', '#0000ff', '#ffff00', '#ff00ff', '#00ffff'];
|
||||
const buttonSize = 50;
|
||||
const buttonSpacing = 15;
|
||||
// Create a container div for the color buttons
|
||||
|
||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user