diff --git a/.all-contributorsrc b/.all-contributorsrc
index 32cb3d5..30179c0 100644
--- a/.all-contributorsrc
+++ b/.all-contributorsrc
@@ -34,6 +34,15 @@
"contributions": [
"doc"
]
+ },
+ {
+ "login": "Nacalpha",
+ "name": "Nacalpha",
+ "avatar_url": "https://avatars.githubusercontent.com/u/128111367?v=4",
+ "profile": "https://github.com/Nacalpha",
+ "contributions": [
+ "doc"
+ ]
}
]
}
diff --git a/README.md b/README.md
index e4a2e00..77a1121 100644
--- a/README.md
+++ b/README.md
@@ -90,6 +90,7 @@ git push --set-upstream origin your-branch-name
 MCNeteaseDevs 📖 |
 sevenstars 📖 |
 LiangJi23333 📖 |
+  Nacalpha 📖 |
diff --git a/mcguide/18-界面与交互/30-UI说明文档.md b/mcguide/18-界面与交互/30-UI说明文档.md
index e202fa1..ffa2899 100644
--- a/mcguide/18-界面与交互/30-UI说明文档.md
+++ b/mcguide/18-界面与交互/30-UI说明文档.md
@@ -1767,7 +1767,15 @@ touch_path = scroll_view_path + "/scroll_touch/scroll_view/panel/background_and_
mouse_path = scroll_view_path + "/scroll_mouse/scroll_view/stack_panel/background_and_viewport/scrolling_view_port/scrolling_content"
```
-在PC端进行游戏时,按F11可以切换鼠标和触摸屏两种操作模式,而手机端通常只有触摸屏这一种操作模式。不同的操作模式,scroll_view的scrolling_content会生成在不同的路径下,触摸屏使用touch_path获得scrolling_content的绝对路径,而鼠标控制使用mouse_path获得。
+在PC端进行游戏时,按F11可以切换鼠标和触摸屏两种操作模式,而手机端通常只有触摸屏这一种操作模式。不同的操作模式,scroll_view的scrolling_content会生成在不同的路径下,触摸屏使用touch_path获得scrolling_content的绝对路径,而鼠标控制使用mouse_path获得。如果不想让路径随操作模式变化,可以指定$touch变量为true,此时路径将固定为touch_path。
+
+```json
+"scroll_view0@common.scrolling_panel": {
+ // 手动指定$touch变量为true
+ "$touch": true
+ ...
+}
+```
### grid
@@ -2641,4 +2649,4 @@ def OnRichTextCreateFinishCallback(self):
##### 使用事项
- 富文本是Python实现的一个复合控件,在生成富文本后会有部分数据缓存在RichTextItem实例中,因此不支持使用clone接口复制已创建完成的富文本,但是clone没有调用过readRichText的富文本是可行的。
- - 我们在内部会缓存路径与RichTextItem实例的映射,使用GetRichTextItem接口,传入相同路径返回的RichTextItem实例也会是相同的。
\ No newline at end of file
+ - 我们在内部会缓存路径与RichTextItem实例的映射,使用GetRichTextItem接口,传入相同路径返回的RichTextItem实例也会是相同的。