mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Fix touch-demo after recent api changes.
TBR=abarth@chromium.org Review URL: https://codereview.chromium.org/950503002
This commit is contained in:
parent
3663c45619
commit
2a0ee4976a
@ -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