]> ruin.nu Git - moosique.git/blobdiff - MooNoteElement.java
no message
[moosique.git] / MooNoteElement.java
index 65afa7bc8061552e130eb6bb1af4a63ed15e86a7..46b8047c4ae9bf5c1c26ed569fd283ffdafa1bba 100644 (file)
@@ -23,7 +23,7 @@ public class MooNoteElement extends JPanel {
         */
        public MooNoteElement (MooNote mn) {
                note = mn;
-               columns = mn.getDuration() / 24;
+               columns = mn.getDuration() / (Moosique.getSequence().getResolution() / 4);
                setBorder(BorderFactory.createLineBorder(Color.black));
                setBackground(bgColor);
        }