Fix touch-demo after recent api changes.

TBR=abarth@chromium.org

Review URL: https://codereview.chromium.org/950503002
This commit is contained in:
Eric Seidel 2015-02-20 15:23:09 -08:00
parent 26629785a9
commit 7dcdf11b95

View File

@ -19,7 +19,7 @@ void moveDot(event) {
double x = event.x;
double y = event.y;
dot.style.setProperty("transform", "translate(${x-50}px,${y-50}px)");
dot.style["transform"] = "translate(${x-50}px,${y-50}px)";
}
void main() {