Skip to content

Commit ca025e2

Browse files
committed
Export Toggler Id
1 parent 35dd0b8 commit ca025e2

File tree

2 files changed

+12
-3
lines changed

2 files changed

+12
-3
lines changed

src/keyframes/helpers.rs

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,13 @@ pub mod lazy {
9494
/// A slightly different import to clean up makeing animation Ids.
9595
pub mod id {
9696
pub use crate::keyframes::{
97-
button::Id as Button, column::Id as Column, container::Id as Container, row::Id as Row,
98-
space::Id as Space, style_button::Id as StyleButton, style_container::Id as StyleContainer,
97+
button::Id as Button,
98+
column::Id as Column,
99+
container::Id as Container,
100+
row::Id as Row,
101+
space::Id as Space,
102+
style_button::Id as StyleButton,
103+
style_container::Id as StyleContainer,
104+
toggler::Id as Toggler,
99105
};
100106
}

src/widget/container.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,10 @@ where
127127
self
128128
}
129129

130-
/// Sets the animatable style variant of this [`Container`].
130+
/// Set the appearance this [`Container`] to a blend of two styles.
131+
///
132+
/// Percent is a f32 of 0.0 -> 1.0.
133+
/// Where 0 is 100% style1 and 1 is 100% style2.
131134
pub fn blend_style(
132135
mut self,
133136
style1: <Renderer::Theme as StyleSheet>::Style,

0 commit comments

Comments
 (0)