From 8a3525d879e63d558d1ffaf0eb69ab72dd382677 Mon Sep 17 00:00:00 2001 From: Nick Fisher Date: Wed, 13 Nov 2024 10:53:45 +0800 Subject: [PATCH] chore: temporarily disable ThermionWidgetWebImpl --- .../src/widgets/src/thermion_widget_web_impl.dart | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/thermion_flutter/thermion_flutter/lib/src/widgets/src/thermion_widget_web_impl.dart b/thermion_flutter/thermion_flutter/lib/src/widgets/src/thermion_widget_web_impl.dart index 29ea1013..6be24eb9 100644 --- a/thermion_flutter/thermion_flutter/lib/src/widgets/src/thermion_widget_web_impl.dart +++ b/thermion_flutter/thermion_flutter/lib/src/widgets/src/thermion_widget_web_impl.dart @@ -16,13 +16,13 @@ class ThermionWidgetWeb extends StatelessWidget { @override Widget build(BuildContext context) { - if (_texture == null || _resizing) { - return widget.initial ?? Container(color: Colors.red); - } - return ResizeObserver( - onResized: _resizeTexture, - child: ThermionWidgetWeb( - options: widget.options as ThermionFlutterWebOptions?)); + // if (_texture == null || _resizing) { + // return widget.initial ?? Container(color: Colors.red); + // } + // return ResizeObserver( + // onResized: _resizeTexture, + // child: ThermionWidgetWeb( + // options: widget.options as ThermionFlutterWebOptions?)); if (options?.importCanvasAsWidget == true) { return _ImageCopyingWidget();