Skip to content

Commit

Permalink
adding new icon
Browse files Browse the repository at this point in the history
fixing volume issue when changing song
  • Loading branch information
oussamabonnor1 committed May 27, 2019
1 parent aa4d205 commit e840a34
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion JetTunes/data/Parameters
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
false
2
7
false
1 change: 1 addition & 0 deletions src/Controller/MusicPlayerController.java
Original file line number Diff line number Diff line change
Expand Up @@ -463,6 +463,7 @@ private MediaPlayer settingUpMediaPlayer(Media hit) {

areaChart.getData().clear();
areaChart.getData().add(series1);
mediaPlayer.setVolume(volumeSlider.getValue()/100);
mediaPlayer.setOnReady(this::playMusic);

mediaPlayer.setOnEndOfMedia(() -> nextSong(null));
Expand Down
Binary file modified src/res/images/icon.ico
Binary file not shown.

0 comments on commit e840a34

Please sign in to comment.