Reinstated sample scroll bar

This commit is contained in:
2019-01-21 15:06:30 +00:00
parent 9bda80d40d
commit c0efd152e8
@@ -337,9 +337,6 @@ public class AudiobookRecorder extends JFrame {
} }
}); });
sampleControl.add(sampleScroll, BorderLayout.SOUTH);
sampleWaveform.addMarkerDragListener(new MarkerDragListener() { sampleWaveform.addMarkerDragListener(new MarkerDragListener() {
public void leftMarkerMoved(MarkerDragEvent e) { public void leftMarkerMoved(MarkerDragEvent e) {
if (selectedSentence != null) { if (selectedSentence != null) {
@@ -520,6 +517,8 @@ public class AudiobookRecorder extends JFrame {
effectChain = new JComboBox<KVPair<String, String>>(); effectChain = new JComboBox<KVPair<String, String>>();
controlsBottom.add(effectChain); controlsBottom.add(effectChain);
controlsBottom.add(sampleScroll);
effectChain.addActionListener(new ActionListener() { effectChain.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e) { public void actionPerformed(ActionEvent e) {
if (selectedSentence != null) { if (selectedSentence != null) {