From 1f6da2d0b6779b2d3a4779d42d881bad9bc5dd09 Mon Sep 17 00:00:00 2001 From: Hermet Park Date: Sun, 17 May 2020 20:52:58 +0900 Subject: [PATCH] test: update samples fix some broken test code. Change-Id: I42b0dd8b4c599ea59e0860a40b828936dca1e54d --- test/testDirectUpdate.cpp | 4 ++-- test/testTransform.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/test/testDirectUpdate.cpp b/test/testDirectUpdate.cpp index 735231a..799d135 100644 --- a/test/testDirectUpdate.cpp +++ b/test/testDirectUpdate.cpp @@ -25,9 +25,9 @@ void tvgtest() shape->appendRect(-100, -100, 200, 200, 0); - //fill and rotate properties will be retained + //fill property will be retained shape->fill(127, 255, 255, 255); - shape->rotate(45); + canvas->push(move(shape)); //Draw first frame diff --git a/test/testTransform.cpp b/test/testTransform.cpp index 48d496b..0a126cc 100644 --- a/test/testTransform.cpp +++ b/test/testTransform.cpp @@ -75,7 +75,7 @@ void transit_cb(Elm_Transit_Effect *effect, Elm_Transit* transit, double progres pShape2->translate(400 + progress * 300, 400); canvas->update(pShape2); - //Update Shape2 + //Update Shape3 pShape3->rotate(-360 * progress); pShape3->scale(0.5 + progress); canvas->update(pShape3); -- 2.7.4