Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

自定义block,没有下一条语句的连接点(突出小半圆) #36

Closed
sagaii opened this issue Oct 22, 2021 · 4 comments
Closed

Comments

@sagaii
Copy link
Contributor

sagaii commented Oct 22, 2021

{
"type": "crvprogram_start",
"message0": "Start",
"nextStatement":null,
"tooltip": "",
"helpUrl":""
}

我按照上面的json样式,自定义了block,目前只显示一个圆角矩形(没有突出的小半圆)。

加上"previousStatement": null ,就有了下一条语句的连接点,当然上一条语句的缩进的小半圆连接点也有了。

@imagicbell
Copy link
Owner

Yes, the nextStatement should be paired with previousStatement. Neither can be declared alone.

@sagaii
Copy link
Contributor Author

sagaii commented Oct 23, 2021

can i custom block like this ?
1

or ublockly support custom block like this ?
2

@imagicbell
Copy link
Owner

Thanks for reminding me. The update 49c99a8 has added this feature.

@sagaii
Copy link
Contributor Author

sagaii commented Oct 24, 2021

ok,thanks

@sagaii sagaii closed this as completed Oct 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants