Skip to content

Commit ae94dc6

Browse files
committed
fix: fixup tests
1 parent 1314e6c commit ae94dc6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/onyxsdk_pen/lib/onyxsdk_pen_area.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ class _OnyxSdkPenAreaState extends State<OnyxSdkPenArea> {
8888
creationParams['strokeStyle'] = widget.strokeStyle;
8989
creationParams['strokeColor'] = widget.strokeColor;
9090
creationParams['strokeWidth'] = widget.strokeWidth;
91-
channel.invokeMethod('updateStroke', creationParams);
91+
channel.invokeMethod('updateStroke', creationParams).catchError((e) {});
9292
}
9393

9494
@override

test/sbn_test.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,7 @@ Widget _buildCanvas({
312312
currentStrokeDetectedShape: null,
313313
currentSelection: null,
314314
setAsBackground: null,
315-
currentToolIsSelect: false,
315+
currentTool: LaserPointer.currentLaserPointer,
316316
currentScale: double.maxFinite,
317317
),
318318
),

0 commit comments

Comments
 (0)