Explorar o código

3dModeling pulic.js 李欣儒 commit at 2021-03-23

李欣儒 %!s(int64=4) %!d(string=hai) anos
pai
achega
4a193d9c0d
Modificáronse 1 ficheiros con 8 adicións e 0 borrados
  1. 8 0
      3dModeling/sgec106/pulic.js

+ 8 - 0
3dModeling/sgec106/pulic.js

@@ -196,3 +196,11 @@ function restarRotate() {
     }
     if (rotateTimer == null) {
         rotateTimer = setTimeout(function () {
+            //  startRotate();
+        }, restartTime);
+    } else {
+        clearTimeout(rotateTimer);
+        rotateTimer = null;
+        restarRotate();
+    }
+}