summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAldrik Ramaekers <aldrikboy@gmail.com>2024-12-05 07:53:55 +0100
committerAldrik Ramaekers <aldrikboy@gmail.com>2024-12-05 07:53:55 +0100
commitad7c6feb709c672625711908d76a0beec620fc4c (patch)
treed589610a21779373ec8add3b4e380dcc809e7406
parent31068b7b2abb092768773e7a23428d2861cc4c7a (diff)
close #49
-rw-r--r--src/scenes/place_detail.c4
1 files changed, 2 insertions, 2 deletions
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);