ErrorProne: fix sampler/LongDoubleConversion
This commit is contained in:
parent
cb7bde8fb6
commit
3601ecc4b7
@ -209,7 +209,7 @@ final class PlayerPane extends VBox {
|
||||
long max = (long) currentPlayer.get().getMedia().getDuration().toSeconds();
|
||||
long sliderVal = (long) timeSlider.getValue();
|
||||
if (sliderVal <= max && timeSlider.isValueChanging()) {
|
||||
currentPlayer.get().seek(Duration.seconds(sliderVal));
|
||||
currentPlayer.get().seek(Duration.seconds((double) sliderVal));
|
||||
}
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user