From 6e26740a40946f374a4b5f3832c3b24a213ace0a Mon Sep 17 00:00:00 2001 From: Savanni D'Gerinel Date: Wed, 9 Oct 2024 22:32:15 -0400 Subject: [PATCH] Fix a bug with the bottom section --- cyber-slides/src/main.rs | 2 +- script.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cyber-slides/src/main.rs b/cyber-slides/src/main.rs index 665fc55..5b0aa61 100644 --- a/cyber-slides/src/main.rs +++ b/cyber-slides/src/main.rs @@ -191,7 +191,7 @@ impl CyberScreenState { (old, step) } Position::Bottom => { - let old = self.middle.replace(step.clone()); + let old = self.bottom.replace(step.clone()); (old, step) } }; diff --git a/script.yml b/script.yml index a1b8656..c088f73 100644 --- a/script.yml +++ b/script.yml @@ -11,7 +11,7 @@ nanos: 0 - text: Science is our Magic. - position: middle + position: bottom transition: secs: 1 nanos: 0