File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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 ),
You can’t perform that action at this time.
0 commit comments