feat: 数感启蒙、专注力页面重构、首页入口开发
This commit is contained in:
@@ -116,7 +116,7 @@ class ShapeSymbolDraw extends BaseDrawService {
|
||||
// 第二行:绘制符号(使用 emoji)
|
||||
const symbolX = legendStartX + index * cellSize + cellSize / 2;
|
||||
const symbolY = legendStartY + cellSize + cellSize / 2;
|
||||
this.drawSymbol(ctx, symbolX, symbolY, mapping.symbol, 30);
|
||||
this.drawLegendEmojiSymbol(ctx, symbolX, symbolY, mapping.symbol, 30);
|
||||
});
|
||||
|
||||
const dividerY = legendStartY + legendRows * cellSize + 30;
|
||||
@@ -178,9 +178,9 @@ class ShapeSymbolDraw extends BaseDrawService {
|
||||
}
|
||||
|
||||
/**
|
||||
* 绘制符号(使用路径绘制,类似 shapeSymbolShapes.ts)
|
||||
* 图例区绘制 emoji 符号(避免与 BaseDrawService.drawSymbol 同名冲突)
|
||||
*/
|
||||
private drawSymbol(
|
||||
private drawLegendEmojiSymbol(
|
||||
ctx: RenderingContext,
|
||||
x: number,
|
||||
y: number,
|
||||
|
||||
Reference in New Issue
Block a user