Commit 6f92088f authored by Adam Barth's avatar Adam Barth

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
parent b9c8e710
......@@ -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";
......
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