From a201b4a2135d9ce757c33def9b4488314df953e9 Mon Sep 17 00:00:00 2001 From: fltLi Date: Sun, 5 Apr 2026 18:20:43 +0800 Subject: [PATCH 1/2] docs: correct invalid `intro delay` to `intro delayTime`. --- src/script-reference/commands/intro.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/script-reference/commands/intro.md b/src/script-reference/commands/intro.md index 4cb9d630e..8d38c3458 100644 --- a/src/script-reference/commands/intro.md +++ b/src/script-reference/commands/intro.md @@ -68,14 +68,16 @@ intro:这是一段话 -backgroundImage=bg.png; intro:这是第一行文字|这是第二行文字|这是第三行文字 -animation=slideIn; ``` -### delay +### delayTime - 数字 - 单位:毫秒 +- 范围:0 到正无穷 +- 默认值:1500 设置每行文字的显示延迟时间。 ```webgal -intro:这是第一行文字|这是第二行文字|这是第三行文字 -delay=1000; +intro:这是第一行文字|这是第二行文字|这是第三行文字 -delayTime=1000; ``` ### hold From 59c9234bfc4e726574ea8adb071a5757bdaab5ba Mon Sep 17 00:00:00 2001 From: fltLi Date: Sun, 5 Apr 2026 19:04:01 +0800 Subject: [PATCH 2/2] docs: note `delayTime` is ignored when `useForward=true`. --- src/script-reference/commands/intro.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/script-reference/commands/intro.md b/src/script-reference/commands/intro.md index 8d38c3458..8f4691de3 100644 --- a/src/script-reference/commands/intro.md +++ b/src/script-reference/commands/intro.md @@ -93,7 +93,7 @@ intro:这是一段话 -hold; ### useForward - 布尔值 -当值为 `true` 时,需要用户手动点击屏幕,才会显示下一行文字,并设置 `hold` 为 `true`。 +当值为 `true` 时,需要用户手动点击屏幕,才会显示下一行文字,并设置 `hold` 为 `true`,忽略 `delayTime`。 当值为 `false` 时,自动显示下一行文字。 ```webgal