Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit fc2411e

Browse files
committed
invert assert expression
1 parent e86cf4a commit fc2411e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/web_ui/lib/src/engine/surface/recording_canvas.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ class RecordingCanvas {
2929
/// Maximum paintable bounds for this canvas.
3030
ui.Rect get pictureBounds {
3131
assert(
32-
!_debugRecordingEnded,
32+
_debugRecordingEnded,
3333
'Picture bounds not available yet. Call [endRecording] before accessing picture bounds.',
3434
);
3535
return _pictureBounds;

0 commit comments

Comments
 (0)