diff options
| author | Jack Jamison <jackqjamison@gmail.com> | 2025-11-04 17:29:52 -0500 |
|---|---|---|
| committer | Jack Jamison <jackqjamison@gmail.com> | 2025-11-06 19:45:03 -0500 |
| commit | 95fb3cad63941466e913775a3c080b310d45d13a (patch) | |
| tree | 555cbaf4d5fd7454efbe6ab200e268c04b53ed49 /layout.c | |
| parent | 38d43004656a2d00960484e5e5a5ece46bde840b (diff) | |
refactor onfig file and delete word backward
Diffstat (limited to 'layout.c')
| -rw-r--r-- | layout.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -53,7 +53,7 @@ void calculate_layout(client_state* state, rect_t* prompt, rect_t* input, rect_t } // calculate page indices - if (recalc_pages && !fancy_scroll) { + if (recalc_pages && !config.fancy_scroll) { state->current_page = 0; array_clear(state->page_indices); @@ -78,7 +78,7 @@ void calculate_layout(client_state* state, rect_t* prompt, rect_t* input, rect_t } if (array_size(state->filtered_items) != 0) { - if (fancy_scroll) { + if (config.fancy_scroll) { // calculate fancy scroll offset if (state->lines) { // calc vertical scroll |
