update canvas example
authorCharles Yin <charles.yin@nokia.com>
Fri, 24 Jun 2011 01:13:17 +0000 (11:13 +1000)
committerQt by Nokia <qt-info@nokia.com>
Fri, 1 Jul 2011 04:41:29 +0000 (06:41 +0200)
Change-Id: I8a797b85f88370c6ddfe64d40a6888aba06998d7
Reviewed-on: http://codereview.qt.nokia.com/693
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Sergio Ahumada <sergio.ahumada@nokia.com>
examples/declarative/canvas/svgpath/tiger.js
examples/declarative/canvas/svgpath/tiger.qml

index 63a1e43..2695cd5 100644 (file)
@@ -728,7 +728,6 @@ function draw(ctx, frame)
 
   if (frame > totalPaths)
     return;
-   console.log(frame);
    ctx.reset();
    ctx.globalCompositeOperation = "source-over";
    ctx.fillStyle = "rgba(0,0,0,0)";
index 052c090..96d19d3 100644 (file)
@@ -4,7 +4,7 @@ import "tiger.js" as Tiger
 Canvas {
   id:canvas
   width:1900
-  height:1150
+  height:1100
   property int frame:0    
 
   Timer {