Skip to content

Commit

Permalink
fix Event::SoftwareVersionBlocked (#81)
Browse files Browse the repository at this point in the history
  • Loading branch information
karelispanagiotis committed Apr 18, 2024
1 parent 1483ea5 commit 4f1805c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion orb-ui/src/engine/pearl.rs
Original file line number Diff line number Diff line change
Expand Up @@ -690,7 +690,7 @@ impl EventHandler for Runner<PEARL_RING_LED_COUNT, PEARL_CENTER_LED_COUNT> {
let slider = self
.ring_animations_stack
.stack
.get_mut(&LEVEL_NOTICE)
.get_mut(&LEVEL_FOREGROUND)
.and_then(|RunningAnimation { animation, .. }| {
animation
.as_any_mut()
Expand All @@ -705,6 +705,7 @@ impl EventHandler for Runner<PEARL_RING_LED_COUNT, PEARL_CENTER_LED_COUNT> {
Argb::PEARL_OPERATOR_VERSIONS_OUTDATED,
vec![0.4, 0.4, 0.4, 0.4, 0.4, 0.4],
);
self.operator_signup_phase.failure();
}
Event::Idle => {
self.stop_ring(LEVEL_FOREGROUND, false);
Expand Down

0 comments on commit 4f1805c

Please sign in to comment.