From f3a6e073e2275a1394ff98c553af82d98b1265b6 Mon Sep 17 00:00:00 2001 From: jk <47693+sectore@users.noreply.github.com> Date: Wed, 1 Jan 2025 18:51:24 +0100 Subject: [PATCH] don't restrict countdown edit (see #33) --- src/widgets/clock.rs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/widgets/clock.rs b/src/widgets/clock.rs index fffb6f9..db94f5c 100644 --- a/src/widgets/clock.rs +++ b/src/widgets/clock.rs @@ -384,10 +384,6 @@ impl Clock { pub fn edit_up(&mut self) { self.edit_current_up(); - // re-align `current_value` if needed - if self.initial_value.lt(&self.current_value) { - self.current_value = self.initial_value; - } } pub fn edit_down(&mut self) {