提交 61042104 编写于 作者: A 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
上级 ff51816b
......@@ -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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册