From 610421048df5ad998317dec847c49db96aa316d5 Mon Sep 17 00:00:00 2001 From: Adam Barth Date: Mon, 2 Mar 2015 13:11:05 -0800 Subject: [PATCH] Use double rather than float double is a built-in type in Dart. float isn't... TBR=eseidel@chromium.org Review URL: https://codereview.chromium.org/968293003 --- examples/touch-demo.sky | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/touch-demo.sky b/examples/touch-demo.sky index 7644d0c403b..43f99d2d413 100644 --- a/examples/touch-demo.sky +++ b/examples/touch-demo.sky @@ -47,7 +47,7 @@ void stopDots(event) { } void runToTheCenter(event) { - float radius = (5 + (95 * event.pressure)); + double radius = (5 + (95 * event.pressure)); Element dot = whichDot(event); dot.style["transform"] = "translate(${event.x-radius}px,${event.y-radius}px)"; dot.style["width"] = "${2 * radius}px";