openblock-blocks
openblock-blocks copied to clipboard
OpenBlock Blocks is a library for building creative computing interfaces.
I managed to add the icon in the event block on the left like this:  I want to add also icon on block pins category. How to...
when openblock implements the switch case or multi else-if blocks?add or remov block dynamic. the blocks will look more beautiful and it's easy to use the swtich case block. but...
Currently matrix field only supports 5x5 matrix, but in most cases, led matrix is 8x8 or 8x16, etc. We should let matrix field support any number of row and column...
In some applications, data in hexadecimal format is often used. At present, we can only set the field as string type to realize input in hexadecimal format. However, this method...
### 解决问题 - 新增动态IF积木功能,支持通过点击+/-图标动态增删else if和else语句块 ### 提议的变更 - 实现了动态IF积木功能,允许用户通过点击"+"图标来动态增加`else if`语句块和`else`语句块 - 实现了通过点击"-"图标删除指定的语句块 - 涉及blocks、gui、vm三个项目的代码修改 - 主要使用mutation机制来实现积木的变形处理 ### 变更原因 - 提高积木编程的灵活性,让用户能够动态调整条件语句的复杂度 - 增强用户体验,避免预先设定固定数量的条件分支 - 通过mutation方式实现积木变形,保持代码结构的清晰和可维护性 -