feat:添加按数字涂颜色

This commit is contained in:
R524809
2025-12-02 11:34:08 +08:00
parent 698109e6f5
commit 425eccea21
52 changed files with 1446 additions and 65 deletions
@@ -29,7 +29,7 @@ export async function drawMathHeader({
const { appName, appHint, title, subTitle } = options;
let titleX = 108; // 约109.33
const titleY = 26; // 约26.67
const titleY = 25; // 约26.67
const logoX = 24; // 约26.67
const logoY = 20; // 20
@@ -85,7 +85,7 @@ export async function drawMathHeader({
// 调用回调函数
if (onHeaderDrawn) {
onHeaderDrawn(100);
onHeaderDrawn(110);
}
}
@@ -124,6 +124,6 @@ export function drawMathMiniHeader({
// 调用回调函数,传递除以3后的currentY
if (onHeaderDrawn) {
onHeaderDrawn(64); // 约66.67
onHeaderDrawn(66); // 约66.67
}
}