OSDN Git Service

Update timewavesynth8.scd
authorKen Brant <ken_brant@ymail.com>
Mon, 8 May 2017 10:24:29 +0000 (06:24 -0400)
committerGitHub <noreply@github.com>
Mon, 8 May 2017 10:24:29 +0000 (06:24 -0400)
timewavesynth8.scd

index 5f54b51..6f0296c 100644 (file)
@@ -5147,7 +5147,7 @@ s.waitForBoot({
        });*/
        ~min = Button.new(w,Rect(Window.screenBounds.width-20,~bpt+69+5-(20/1.6180339887499),20,20/1.6180339887499)).states_([["m",Color.white,Color.black]]).action_({arg button; w.minimize;});
 
-       ~close = Button.new(w,Rect(Window.screenBounds.width-20,~bpt+69+5,20,20/1.6180339887499)).states_([["c",Color.white,Color.black]]).action_({arg button; w.close; ~numsynths.stop;});
+       ~close = Button.new(w,Rect(Window.screenBounds.width-20,~bpt+69+5,20,20/1.6180339887499)).states_([["c",Color.white,Color.black]]).action_({arg button; ~synthfree.value; w.close; ~numsynths.stop;});
 
 
        w.front; w.fullScreen;