diff --git a/LLSIG/src/main/java/LLSIG/Canvas.java b/LLSIG/src/main/java/LLSIG/Canvas.java index 51323af..408ffae 100644 --- a/LLSIG/src/main/java/LLSIG/Canvas.java +++ b/LLSIG/src/main/java/LLSIG/Canvas.java @@ -15,6 +15,7 @@ import javafx.scene.media.AudioSpectrumListener; public class Canvas extends JPanel implements AudioSpectrumListener{ final Color NOTE_COLOR = new Color(196,116,116); + final Color HOLD_NOTE_COLOR = new Color(64,64,64,160); ArrayList spectrograph = new ArrayList(); public Canvas(Dimension size) { @@ -81,10 +82,20 @@ public class Canvas extends JPanel implements AudioSpectrumListener{ } int NOTE_X=(int)(((this.getWidth()-MARGIN_X)/9)*i+MARGIN_X); g.fillOval(NOTE_X,NOTE_Y,NOTE_SIZE,NOTE_SIZE); + g.setColor(NOTE_COLOR); Lane lane = LLSIG.game.lanes.get(i); - List notes = lane.noteChart.stream().filter((note)->Math.abs(LLSIG.EDITOR_CURSOR_BEAT-note.beatSnapStart) notes = lane.noteChart.stream().filter((note)->Math.abs(LLSIG.EDITOR_CURSOR_BEAT-note.beatSnapStart)