浏览代码

Merge pull request #171 from jiangzhen3s/patch-3

修复scale无法旋转问题
/main
GitHub 6 年前
当前提交
2d9411a6
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 4
      Runtime/gestures/scale.cs

4
Runtime/gestures/scale.cs


int pointerStartId = 0,
Offset pointerEndLocation = null,
int pointerEndId = 1) {
pointerStartLocation = pointerEndLocation ?? Offset.zero;
pointerStartLocation = pointerStartLocation ?? Offset.zero;
pointerEndLocation = pointerEndLocation ?? Offset.zero;
D.assert(pointerStartId != pointerEndId);

get { return "scale"; }
}
}
}
}
正在加载...
取消
保存