From 5c4f5ae5ecb36703a95cafb2cd58692529c9466d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=C3=A9ctor=20Ram=C3=B3n=20Jim=C3=A9nez?= Date: Wed, 8 Jul 2020 10:20:55 +0200 Subject: [PATCH] Export `Canvas` if `glow_canvas` feature is enabled --- src/widget.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/widget.rs b/src/widget.rs index 3e4d4788..007bd531 100644 --- a/src/widget.rs +++ b/src/widget.rs @@ -50,7 +50,7 @@ mod platform { text_input::TextInput, }; - #[cfg(feature = "canvas")] + #[cfg(any(feature = "canvas", feature = "glow_canvas"))] #[doc(no_inline)] pub use canvas::Canvas; }