111
This commit is contained in:
@@ -12,6 +12,9 @@ export const createCanvas = (elementId, options = {}) => {
|
||||
// skipOffscreen: true, // 跳过离屏渲染
|
||||
imageSmoothingEnabled: true, // 启用图像平滑 - 抗锯齿
|
||||
imageSmoothingQuality: "high", // 设置高质量图像平滑
|
||||
fireMiddleClick: true,// 启用中键点击事件
|
||||
fireRightClick: true,// 启用右键点击事件
|
||||
stopContextMenu: true,// 阻止浏览器默认的右键菜单弹出,避免干扰
|
||||
...options,
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user