New Features
- Added a new Background Settings section in Advanced Settings.
- Users can now upload a custom background image and adjust its blur level.
- Backgrounds can be applied either to the blocks workspace or to the New UI desktop area.
- Added localization support for the new background settings.
- Added a collapsible menu bar button for New UI mode, allowing the top menu bar to be hidden or restored.
New UI Improvements
- Improved editor window behavior in New UI mode.
- Fixed editor windows not updating correctly when switching light/dark themes.
- Fixed cases where newly created editor windows could temporarily show content from the previous target.
- Fixed multi-window editor toolbox sizing issues where the blocks palette could inherit the wrong height from another editor window.
- Improved editor window layout refresh so the blocks area and related UI resize more reliably.
- Removed unnecessary placeholder text when all editor windows are closed.
- Improved window layering so stage, sprite, editor, dialogs, and extension windows appear in the correct order.
- Fixed minimized stage/sprite window restore buttons being partially hidden by the top bar.
- Adjusted default editor window size so it no longer starts fully covering the top menu area.
Addon Compatibility Fixes
- Fixed several addon UI elements disappearing or duplicating after switching New UI windows or creating new editor windows.
- Improved addon DOM refresh behavior to reduce unnecessary reloads while keeping UI-based addons working.
- Fixed addon toolbar items such as variable/search-related UI disappearing when opening new editor windows.
- Reduced risk of duplicate addon-injected menu items or controls after UI remounts.
Blocks Workspace Improvements
- Fixed custom background rendering in the blocks workspace so the original grid overlay can remain visible.
- Fixed incorrect background layering where workspace backgrounds could appear under the wrong UI layer.
- Improved New UI workspace background handling so stage and sprite windows are no longer covered incorrectly.
- Fixed cases where the blocks palette did not refresh after adding certain extensions, such as the custom return value extension.
Stability and Build Fixes
- Fixed build/compile issues in the Bun-based workflow.
- Updated package scripts to use local Node entry points for webpack, Jest, and ESLint, improving compatibility with Bun.
- Restored broken local
scratch-vm and scratch-render dependencies.
- Added missing Jest setup and mock files required by the current test configuration.
- Cleaned up unnecessary repeated addon DOM refresh logic.
- Added safer cleanup for draggable window document event listeners to avoid leaked drag/resize handlers.
新功能
- 在高级设置中新增 背景设置 独立分区。
- 支持用户上传自定义背景图片,并设置图片模糊程度。
- 背景可以应用到 积木编辑区域,也可以应用到 新 UI 窗口桌面区域。
- 为新的背景设置补充了多语言支持。
- 新 UI 模式下新增菜单栏收起按钮,可以隐藏或恢复顶部菜单栏。
新 UI 改进
- 优化了新 UI 编辑窗口的行为。
- 修复切换亮暗主题后,编辑窗口样式不能立即刷新的问题。
- 修复新建角色并创建新编辑窗口时,窗口内容可能暂时显示上一个角色内容的问题。
- 修复多编辑窗口下,左侧积木栏高度可能继承错误窗口尺寸,导致积木显示不完整的问题。
- 改进编辑窗口尺寸刷新逻辑,让积木区和相关 UI 更稳定地适配窗口大小。
- 删除关闭所有编辑窗口后出现的无用提示文字。
- 调整窗口层级关系,使舞台窗口、角色窗口、编辑窗口、弹窗、扩展库等显示顺序更加正确。
- 修复舞台/角色窗口最小化后的展开按钮被顶部栏遮挡的问题。
- 调整编辑窗口默认大小,避免初始状态完全覆盖顶部菜单区域。
Addon 兼容性修复
- 修复切换新 UI 窗口、创建新编辑窗口后,部分 addon UI 消失或重复的问题。
- 改进 addon DOM 刷新逻辑,减少不必要的重复加载,同时保留依赖 DOM 的 addon 正常显示。
- 修复变量、搜索框等 addon 工具栏内容在新建编辑窗口后消失的问题。
- 降低 UI 重新挂载后 addon 菜单项或按钮重复注入的风险。
积木编辑区改进
- 修复自定义积木区背景的显示层级,使原本的网格图层可以继续保留。
- 修复积木区背景被设置到错误图层的问题。
- 修复新 UI 背景可能覆盖舞台窗口、角色窗口的问题。
- 修复添加部分扩展后,积木栏偶尔不刷新的问题,例如自定义返回值扩展。
稳定性与构建修复
- 修复 Bun 工作流下的构建/编译问题。
- 将 package 脚本改为直接调用本地 webpack、Jest、ESLint 入口,提高 Bun 环境兼容性。
- 修复本地
scratch-vm 和 scratch-render 依赖损坏导致无法编译的问题。
- 补齐当前 Jest 配置需要的 setup 和 mock 文件。
- 清理不必要的重复 addon DOM 刷新逻辑。
- 为可拖拽窗口增加更安全的 document 事件清理,避免拖拽/缩放监听残留。