]> ruin.nu Git - moosique.git/blobdiff - MooTrackView.java
no message
[moosique.git] / MooTrackView.java
index 0b4618d7a65cce2a875467c19df7421e1d98f7ca..16d396f2e0a845053e83843e51707dceed42f862 100644 (file)
@@ -67,7 +67,6 @@ public class MooTrackView extends JPanel implements ActionListener {
                private int trackLength;
 
                public NoteArea(Track track) {
-                       System.out.println("Creating track view...");
                        setLayout(null);
                        trackLength = 140;
                        setPreferredSize(new Dimension(200,140*NOTE_HEIGHT));
@@ -89,7 +88,6 @@ public class MooTrackView extends JPanel implements ActionListener {
                                        y = insets.top + (int)(mn.getTick() / 24) * NOTE_HEIGHT;
                                        height = NOTE_HEIGHT;
                                        // height = (mn.getDuration() / 24) * NOTE_HEIGHT;
-                                       // System.out.println("Comp at: " + x + ", " + y + " is: " + findComponentAt(x + 10, y + 10));
                                        while(findComponentAt(x, y) instanceof MooNoteElement ||
                                              findComponentAt(x, y + height - 1) instanceof MooNoteElement) x += NOTE_WIDTH;
                                        elem.setBounds(x, y, NOTE_WIDTH, height);