Fix touch-demo after recent api changes.
TBR=abarth@chromium.org Review URL: https://codereview.chromium.org/950503002
This commit is contained in:
parent
26629785a9
commit
7dcdf11b95
@ -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() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user