张延森 3 lat temu
rodzic
commit
a2f5cd83fd
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1
    1
      src/pages/game/algorithm/index.js

+ 1
- 1
src/pages/game/algorithm/index.js Wyświetl plik

@@ -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