新增画布完美像素功能
在图片工具栏接入完美像素交互、占位流程与历史保护 新增严格像素网格检测和登录态同步处理接口 补齐素材类型校验、持久化边界、并发限制及技术文档 修复 Windows rlib 门禁长文件名解析
This commit is contained in:
@@ -625,6 +625,12 @@ describe('ImageCanvasHistoryModel', () => {
|
||||
expect(isProtectedCanvasHistoryAction({ type: 'replace-image' })).toBe(
|
||||
true,
|
||||
);
|
||||
expect(formatCanvasHistoryAction({ type: 'perfect-pixel' })).toBe(
|
||||
'完美像素',
|
||||
);
|
||||
expect(isProtectedCanvasHistoryAction({ type: 'perfect-pixel' })).toBe(
|
||||
true,
|
||||
);
|
||||
expect(isProtectedCanvasHistoryAction({ type: 'move-image' })).toBe(false);
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user