Browse Source

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

Jonathan Higgins 9 months ago
parent
commit
a228b395ba
1 changed files with 2 additions and 1 deletions
  1. 2 1
      scenes/Nodes/audioplayer.gd

+ 2 - 1
scenes/Nodes/audioplayer.gd

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