X-Git-Url: https://ruin.nu/git/?p=moosique.git;a=blobdiff_plain;f=MooNoteElement.java;h=7488d1543d94a54a9a66099263d072767f0dad55;hp=e1bcfb019d55c756867942c0c006b9110cbebe7b;hb=bad66a3619fc01696605892caeef49249df364ae;hpb=9d5d6dc48ef1650f70db268b2606c5d15a7a4093 diff --git a/MooNoteElement.java b/MooNoteElement.java index e1bcfb0..7488d15 100644 --- a/MooNoteElement.java +++ b/MooNoteElement.java @@ -13,7 +13,6 @@ public class MooNoteElement extends JPanel { private MooTrackView mtv; private MooNote note; - private int columns; private boolean selected; private Rectangle pitchRect, veloRect; public static final Color bgColor = new Color(160, 218, 255); @@ -31,7 +30,6 @@ public class MooNoteElement extends JPanel { mtv = parent; note = mn; calculateString(); - columns = mn.getDuration() / (Moosique.getSequence().getResolution() / 4); setBorder(BorderFactory.createLineBorder(Color.black)); setBackground(bgColor); addMouseListener(new MAdapter());