Skip to content

Commit

Permalink
Allow repeating requests and invasions yearly
Browse files Browse the repository at this point in the history
  • Loading branch information
crudelios committed Feb 3, 2025
1 parent 42b4ea5 commit 604819e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/window/editor/edit_invasion.c
Original file line number Diff line number Diff line change
Expand Up @@ -439,7 +439,7 @@ static void button_repeat_between(const generic_button *button)
}

window_numeric_input_bound_show(data.section_title_width + SECTION_CONTENT_LEFT_OFFSET, BASE_Y_OFFSET, button,
2, 3, 50, amount_type == AMOUNT_MIN ? set_repeat_interval_min : set_repeat_interval_max);
2, 1, 50, amount_type == AMOUNT_MIN ? set_repeat_interval_min : set_repeat_interval_max);
}

static void button_delete(const generic_button *button)
Expand Down
2 changes: 1 addition & 1 deletion src/window/editor/edit_request.c
Original file line number Diff line number Diff line change
Expand Up @@ -503,7 +503,7 @@ static void button_repeat_between(const generic_button *button)
}

window_numeric_input_bound_show(data.section_title_width + SECTION_CONTENT_LEFT_OFFSET, BASE_Y_OFFSET, button,
2, 3, 50, amount_type == AMOUNT_MIN ? set_repeat_interval_min : set_repeat_interval_max);
2, 1, 50, amount_type == AMOUNT_MIN ? set_repeat_interval_min : set_repeat_interval_max);
}

static void button_delete(const generic_button *button)
Expand Down

0 comments on commit 604819e

Please sign in to comment.