From 39b47d556c1d9d04bb42fed6ccc1b7d673f1870e Mon Sep 17 00:00:00 2001 From: Chris Thrasher Date: Thu, 27 Jun 2024 16:18:29 -0600 Subject: [PATCH] Reset pitch when resetting view --- src/Mandelbrot.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Mandelbrot.cpp b/src/Mandelbrot.cpp index c7325a9..67ebedb 100644 --- a/src/Mandelbrot.cpp +++ b/src/Mandelbrot.cpp @@ -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;