Commit 26629785 authored by Eric Seidel's avatar Eric Seidel

Fix spinning-square to spin again.

TBR=abarth@chromium.org

Review URL: https://codereview.chromium.org/942923002
parent c54e1688
......@@ -21,7 +21,7 @@ void main() {
timeBase = time;
double delta = time - timeBase;
int rotation = (delta / 10).floor();
square.style.setProperty("transform", 'rotate(${rotation}deg)');
square.style["transform"] = "rotate(${rotation}deg)";
window.requestAnimationFrame(animate);
}
......
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