diff options
author | 2020-07-08 10:20:55 +0200 | |
---|---|---|
committer | 2020-07-08 10:20:55 +0200 | |
commit | 5c4f5ae5ecb36703a95cafb2cd58692529c9466d (patch) | |
tree | 8781d82912718557deb70d20cd0485f6bfed9f3f /src | |
parent | dfeb3db003d724a1c980329dab9cbfae55b7f589 (diff) | |
download | iced-5c4f5ae5ecb36703a95cafb2cd58692529c9466d.tar.gz iced-5c4f5ae5ecb36703a95cafb2cd58692529c9466d.tar.bz2 iced-5c4f5ae5ecb36703a95cafb2cd58692529c9466d.zip |
Export `Canvas` if `glow_canvas` feature is enabled
Diffstat (limited to 'src')
-rw-r--r-- | src/widget.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |