aboutsummaryrefslogtreecommitdiff
path: root/src/layout/scrolling.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/layout/scrolling.rs')
-rw-r--r--src/layout/scrolling.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/layout/scrolling.rs b/src/layout/scrolling.rs
index 551fa692..17e6673f 100644
--- a/src/layout/scrolling.rs
+++ b/src/layout/scrolling.rs
@@ -4025,7 +4025,7 @@ impl<W: LayoutElement> Column<W> {
pub fn offset_move_anim_current(&mut self, offset: f64) {
if let Some(move_) = self.move_animation.as_mut() {
// If the anim is almost done, there's little point trying to offset it; we can let
- // things jump. If it turns out like a bad idea, we could restart the anim intead.
+ // things jump. If it turns out like a bad idea, we could restart the anim instead.
let value = move_.anim.value();
if value > 0.001 {
move_.from += offset / value;