提交 fef7d827 编写于 作者: J Jason Simmons 提交者: GitHub

Allow infinite cull rectangles on a Canvas (#3975)

上级 a7ae2abb
......@@ -1408,7 +1408,7 @@ class Canvas extends NativeFieldWrapperClass2 {
assert(recorder != null);
if (recorder.isRecording)
throw new ArgumentError('"recorder" must not already be associated with another Canvas.');
assert(_rectIsValid(cullRect));
assert(cullRect != null);
_constructor(recorder, cullRect.left, cullRect.top, cullRect.right, cullRect.bottom);
}
void _constructor(PictureRecorder recorder,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册