Bladeren bron

remove logging

David 9 jaren geleden
bovenliggende
commit
f5c8ce7347
1 gewijzigde bestanden met toevoegingen van 0 en 3 verwijderingen
  1. 0 3
      main.qml

+ 0 - 3
main.qml

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