Commit 7dcdf11b authored by Eric Seidel's avatar Eric Seidel

Fix touch-demo after recent api changes.

TBR=abarth@chromium.org

Review URL: https://codereview.chromium.org/950503002
parent 26629785
......@@ -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() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment