Apparently I had missed some warnings due to how I was editing this
through another project using Cushy.
This commit is contained in:
Jonathan Johnson 2024-08-28 07:03:56 -07:00
parent 94e473cdd3
commit 20366698a6
No known key found for this signature in database
GPG key ID: A66D6A34D6620579

View file

@ -6,7 +6,7 @@ use figures::{Size, Zero};
use crate::animation::{AnimationHandle, AnimationTarget, Spawn};
use crate::context::LayoutContext;
use crate::styles::components::{EasingIn, EasingOut};
use crate::value::{Destination, Dynamic, Generation, IntoDynamic, Source};
use crate::value::{Dynamic, Generation, IntoDynamic, Source};
use crate::widget::{MakeWidget, WidgetInstance, WidgetRef, WrappedLayout, WrapperWidget};
use crate::ConstraintLimit;
@ -65,7 +65,6 @@ impl Collapse {
} else {
(context.get(&EasingIn), size)
};
if generation == self.collapse_generation {}
match &self.collapse_animation {
Some(state) if state.target == target => {}
Some(_) if generation == self.collapse_generation => {