Adding in MutableAnimation::current_percentage
This commit is contained in:
parent
a7d85a6876
commit
b53608f299
|
@ -667,6 +667,11 @@ impl MutableAnimation {
|
||||||
pub fn signal(&self) -> MutableAnimationSignal {
|
pub fn signal(&self) -> MutableAnimationSignal {
|
||||||
MutableAnimationSignal(self.inner.value.signal())
|
MutableAnimationSignal(self.inner.value.signal())
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[inline]
|
||||||
|
pub fn current_percentage(&self) -> Percentage {
|
||||||
|
self.inner.value.get()
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue