Skip to content

Commit

Permalink
Reset pitch when resetting view
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisThrasher committed Jun 27, 2024
1 parent 2d60d17 commit 39b47d5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Mandelbrot.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@ int main()
origin = initial_origin;
extent = initial_extent;
iteration_limit = initial_iteration_limit;
zoom_sound.setPitch(1);
break;
case sf::Keyboard::Scan::RBracket:
iteration_limit += 25;
Expand Down

0 comments on commit 39b47d5

Please sign in to comment.