feat:添加按数字涂颜色
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user