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
This commit is contained in:
Adam Barth 2015-03-02 13:11:05 -08:00
parent 588825a6e1
commit e69fc6a47d

View File

@ -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";