Parcourir la source

fixed bug with trim not being maintained after the process is run

Jonathan Higgins il y a 9 mois
Parent
commit
a228b395ba
1 fichiers modifiés avec 2 ajouts et 1 suppressions
  1. 2 1
      scenes/Nodes/audioplayer.gd

+ 2 - 1
scenes/Nodes/audioplayer.gd

@@ -70,7 +70,8 @@ func reset_playback():
 	$Playhead.position.x = 0
 	$Playhead.position.x = 0
 	$PlayButton.text = "Play"
 	$PlayButton.text = "Play"
 	$Timer.stop()
 	$Timer.stop()
-	Global.trim_infile = false
+	if get_meta("loadenable") == true:
+		Global.trim_infile = false
 	
 	
 	
 	
 func play_outfile(path: String):
 func play_outfile(path: String):