张延森 3 年之前
父節點
當前提交
a2f5cd83fd
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. 1
    1
      src/pages/game/algorithm/index.js

+ 1
- 1
src/pages/game/algorithm/index.js 查看文件

@@ -15,7 +15,7 @@ export default ({ el, center, rotateSpeed = 1.6, speed = -360 }) => {
15 15
 
16 16
   // 初始化
17 17
   const two = new Two({
18
-    type: Two.Types.svg,
18
+    type: Two.Types.canvas,
19 19
     fullscreen: true,
20 20
   }).appendTo(el);
21 21