فهرست منبع

Merge pull request #9669 from sebavan/master

Fix Gif Recording
sebavan 4 سال پیش
والد
کامیت
a3d640fac6
1فایلهای تغییر یافته به همراه0 افزوده شده و 3 حذف شده
  1. 0 3
      inspector/src/components/actionTabs/tabs/toolsTabComponent.tsx

+ 0 - 3
inspector/src/components/actionTabs/tabs/toolsTabComponent.tsx

@@ -123,7 +123,6 @@ export class ToolsTabComponent extends PaneComponent {
     }
 
     recordGIFInternal() {
-        console.log("recordGIFInternal")
         const workerUrl = URL.createObjectURL(this._gifWorkerBlob);
         this._gifRecorder = new GIF({
             workers: 2,
@@ -141,12 +140,10 @@ export class ToolsTabComponent extends PaneComponent {
                 clearInterval(intervalId);
                 return;
             }
-            console.log("addFrame")
             this._gifRecorder.addFrame(engine.getRenderingCanvas(), {delay: 0, copy: true});
         }, this._gifOptions.frequency);
                         
         this._gifRecorder.on('finished', (blob: Blob) =>{
-            console.log("finished")
             this._crunchingGIF = false;
             Tools.Download(blob, "record.gif");