diff options
Diffstat (limited to 'src/event.c')
| -rw-r--r-- | src/event.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/event.c b/src/event.c index 2ce5cc9..18763b0 100644 --- a/src/event.c +++ b/src/event.c @@ -108,7 +108,7 @@ static void st_move_horizontal(State *state, bool move_right) static void st_move_vertical(State *state, bool move_down) { - double factor = move_down ? 1 : -1; + double factor = move_down ? -1 : 1; double imag_change = (state->imag_end - state->imag_start) / MANDEL_MOVE_RATIO; state->imag_start += factor * imag_change; state->imag_end += factor * imag_change; |
