From ad7c6feb709c672625711908d76a0beec620fc4c Mon Sep 17 00:00:00 2001 From: Aldrik Ramaekers Date: Thu, 5 Dec 2024 07:53:55 +0100 Subject: close #49 --- src/scenes/place_detail.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/scenes') diff --git a/src/scenes/place_detail.c b/src/scenes/place_detail.c index 5c365b8..d28e1df 100644 --- a/src/scenes/place_detail.c +++ b/src/scenes/place_detail.c @@ -141,7 +141,7 @@ static scheduled_job create_empty_job_schedule(job_offer* job) return new_job; } -#define scroll_speed 25 +#define scroll_speed 35 #define HANDLE_TAB_SCROLL\ bool hovering_tab = (_global_mouse.y >= orig_y && _global_mouse.y <= orig_y + h \ && _global_mouse.x >= x && _global_mouse.x <= x + w);\ @@ -669,11 +669,11 @@ void place_detail_show_schedule_with_highlighted_job(world_location* loc, schedu break; } } + _active_scheduling_job = *job; } _active_schedule_state = VIEWING; _active_selected_scheduled_job = job; - _active_scheduling_job = *job; selected_tab_index = PLACE_DETAIL_SHOW_MAIN; current_detail_state = PLACE_DETAIL_SHOW_SCHEDULE; tag_animation = animation_create(TAG_ANIMATION_DURATION); -- cgit v1.2.3-70-g09d2