mirror of
https://github.com/tidys/cc-inspector-chrome
synced 2025-04-20 08:58:41 +00:00
滚动说明
This commit is contained in:
parent
1b4ed71d50
commit
da69fb227d
@ -60,12 +60,19 @@ export default defineComponent({
|
|||||||
};
|
};
|
||||||
timer.name = "devtools";
|
timer.name = "devtools";
|
||||||
onMounted(() => {
|
onMounted(() => {
|
||||||
ccui.footbar.showTipsArray({
|
const zh = !!navigator.language.startsWith("zh");
|
||||||
tips: [
|
const tips: string[] = zh
|
||||||
|
? [
|
||||||
|
"在层级中按空格快速控制显示和隐藏节点", //
|
||||||
|
"如果遇到任何问题,欢迎联系我",
|
||||||
|
"在游戏界面快速拾取节点(Inspect Game),可以快速在节点树中定位",
|
||||||
|
"打开QQ频道,全球的cocoser,web在线交流",
|
||||||
|
]
|
||||||
|
: [
|
||||||
"Press space in the hierarchy to quickly control the display and hiding of nodes", //
|
"Press space in the hierarchy to quickly control the display and hiding of nodes", //
|
||||||
"If you encounter any problems during use, please feel free to contact me",
|
"If you encounter any problems during use, please feel free to contact me",
|
||||||
],
|
];
|
||||||
});
|
ccui.footbar.showTipsArray({ tips });
|
||||||
ccui.footbar.registerCmd({
|
ccui.footbar.registerCmd({
|
||||||
icon: "github",
|
icon: "github",
|
||||||
cb: () => {
|
cb: () => {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user