From: Charles Yin Date: Fri, 24 Jun 2011 01:13:17 +0000 (+1000) Subject: update canvas example X-Git-Tag: qt-v5.0.0-alpha1~2144^2~12 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c2d11d0b6924f3b454efd8960e067e98d6a3f593;p=profile%2Fivi%2Fqtdeclarative.git update canvas example Change-Id: I8a797b85f88370c6ddfe64d40a6888aba06998d7 Reviewed-on: http://codereview.qt.nokia.com/693 Reviewed-by: Qt Sanity Bot Reviewed-by: Sergio Ahumada --- diff --git a/examples/declarative/canvas/svgpath/tiger.js b/examples/declarative/canvas/svgpath/tiger.js index 63a1e43..2695cd5 100644 --- a/examples/declarative/canvas/svgpath/tiger.js +++ b/examples/declarative/canvas/svgpath/tiger.js @@ -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)"; diff --git a/examples/declarative/canvas/svgpath/tiger.qml b/examples/declarative/canvas/svgpath/tiger.qml index 052c090..96d19d3 100644 --- a/examples/declarative/canvas/svgpath/tiger.qml +++ b/examples/declarative/canvas/svgpath/tiger.qml @@ -4,7 +4,7 @@ import "tiger.js" as Tiger Canvas { id:canvas width:1900 - height:1150 + height:1100 property int frame:0 Timer {