commit 98c7824ed051f222a470a0cbb622e9c18b8e1a5a
parent 8bed5c00dc842b2873bf0002e3e30c66f1fdfa3e
Author: William Casarin <jb55@jb55.com>
Date: Mon, 22 Apr 2019 10:39:35 -0700
t: don't center view automatically
sometimes you just want to jump to now without messing with your view.
Maybe we should still center_view when we're not in the range at all.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/viscal.c b/viscal.c
@@ -860,7 +860,7 @@ static void move_now(struct cal *cal)
{
cal->current =
get_smallest_closest_timeblock(time(NULL), SMALLEST_TIMEBLOCK);
- center_view(cal);
+ //center_view(cal);
}
static void insert_event(struct cal *cal, time_t st, time_t et,