Skip to content

Commit

Permalink
Reexport Transformation from widget::shader
Browse files Browse the repository at this point in the history
  • Loading branch information
bungoboingo committed Sep 21, 2023
1 parent 4ba2920 commit a08eff8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions renderer/src/widget/shader.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ pub use event::Event;
pub use iced_wgpu::custom::Primitive;
pub use iced_wgpu::custom::Storage;
pub use program::Program;
pub use iced_graphics::Transformation;

/// A widget which can render custom shaders with Iced's `wgpu` backend.
///
Expand Down
2 changes: 1 addition & 1 deletion widget/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ pub use tooltip::Tooltip;
pub use vertical_slider::VerticalSlider;

#[cfg(feature = "wgpu")]
pub use renderer::widget::shader::{self, Shader};
pub use renderer::widget::shader::{self, Shader, Transformation};

#[cfg(feature = "svg")]
pub mod svg;
Expand Down

0 comments on commit a08eff8

Please sign in to comment.