protected static int viewLength = 0;
protected static int extraHeight = 0;
public static final int NOTE_HEIGHT = 10, NOTE_WIDTH = 40, VIEW_WIDTH = 200;
protected static int viewLength = 0;
protected static int extraHeight = 0;
public static final int NOTE_HEIGHT = 10, NOTE_WIDTH = 40, VIEW_WIDTH = 200;
- if (quantizeRecording) {
-
- } else {
- y = insets.top + (int)((mn.getTick() * NOTE_HEIGHT) / ticksPerSixteenth);
- height = (mn.getDuration() * NOTE_HEIGHT) / ticksPerSixteenth;
- }
+ y = insets.top + (int)((mn.getTick() * NOTE_HEIGHT) / ticksPerSixteenth);
+ height = (mn.getDuration() * NOTE_HEIGHT) / ticksPerSixteenth;
r = new Rectangle(x, y, NOTE_WIDTH, height);
// Places the element in the appropriate place.
r = new Rectangle(x, y, NOTE_WIDTH, height);
// Places the element in the appropriate place.