Browse Source

remove logging

David 9 năm trước cách đây
mục cha
commit
f5c8ce7347
1 tập tin đã thay đổi với 0 bổ sung3 xóa
  1. 0 3
      main.qml

+ 0 - 3
main.qml

@@ -41,7 +41,6 @@ ApplicationWindow {
         }
 
         onCurImageChanged: {
-            console.log("curimage changed");
             canvas.change_image(curPDF, curImage)
             diapoStatus.text = qsTr("%1/%2 (%3 preg)").arg(curImage).arg(
                         t_slides).arg(pregs.length)
@@ -98,7 +97,6 @@ ApplicationWindow {
                             ctx = canvas.getContext("2d");
                         ctx.lineCap = 'square'
                         ctx.lineWidth = 4
-                        console.log("Full repaint, img loaded");
                         full_repaint()
                     }
 
@@ -148,7 +146,6 @@ ApplicationWindow {
                             return;
                         if (ctx.strokeStyle !== color){
                             ctx.strokeStyle = color;
-                            console.log("Changing colors");
                         }
                         ctx.beginPath()
                         ctx.moveTo(points[0].x, points[0].y)