Index: sky/examples/touch-demo.sky |
diff --git a/sky/examples/touch-demo.sky b/sky/examples/touch-demo.sky |
index 2afefd757771ce2cdb336abce339dff534e78814..e9482ab857c40e0f54c1c13e91e13993f6b568cc 100644 |
--- a/sky/examples/touch-demo.sky |
+++ b/sky/examples/touch-demo.sky |
@@ -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() { |