mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Allow infinite cull rectangles on a Canvas (flutter/engine#3975)
This commit is contained in:
parent
0f2c77f194
commit
22e8ceec69
@ -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,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user