fix: format

This commit is contained in:
Shibo Lyu 2024-12-29 23:14:43 +08:00
parent 97ad480ad8
commit 8940f26f17

View file

@ -23,7 +23,7 @@ export function createSection(
Array(boardConfig.sectionWidth).fill(boardConfig.defaultColor) Array(boardConfig.sectionWidth).fill(boardConfig.defaultColor)
); );
const bgColor: string[][] = Array(boardConfig.sectionHeight).fill([]).map( const bgColor: string[][] = Array(boardConfig.sectionHeight).fill([]).map(
() => Array(boardConfig.sectionWidth).fill(boardConfig.defaultBgColor) () => Array(boardConfig.sectionWidth).fill(boardConfig.defaultBgColor),
); );
const width: number[][] = Array(boardConfig.sectionHeight).fill([]).map(() => const width: number[][] = Array(boardConfig.sectionHeight).fill([]).map(() =>
Array(boardConfig.sectionWidth).fill(boardConfig.defaultWidth) Array(boardConfig.sectionWidth).fill(boardConfig.defaultWidth)