Skip to content
Snippets Groups Projects
Commit 92a68d96 authored by tobias's avatar tobias
Browse files

Fixed busy view on pad view

parent ba79fb68
Branches
Tags
No related merge requests found
...@@ -93,7 +93,7 @@ public class JavaFXAudioHandler extends AudioHandler implements Equalizable { ...@@ -93,7 +93,7 @@ public class JavaFXAudioHandler extends AudioHandler implements Equalizable {
Platform.runLater(() -> Platform.runLater(() ->
{ {
if (getContent().getPad().isPadVisible()) { if (getContent().getPad().isPadVisible()) {
getContent().getPad().getController().getView().showBusyView(false); getContent().getPad().getController().getView().showBusyView(true);
} }
}); });
......
...@@ -214,7 +214,7 @@ public class TinyAudioHandler extends AudioHandler { ...@@ -214,7 +214,7 @@ public class TinyAudioHandler extends AudioHandler {
Platform.runLater(() -> Platform.runLater(() ->
{ {
if (getContent().getPad().isPadVisible()) { if (getContent().getPad().isPadVisible()) {
getContent().getPad().getController().getView().showBusyView(false); getContent().getPad().getController().getView().showBusyView(true);
} }
}); });
......
...@@ -154,7 +154,7 @@ public class VideoContent extends PadContent implements Pauseable, Durationable ...@@ -154,7 +154,7 @@ public class VideoContent extends PadContent implements Pauseable, Durationable
Platform.runLater(() -> Platform.runLater(() ->
{ {
if (getPad().isPadVisible()) { if (getPad().isPadVisible()) {
getPad().getController().getView().showBusyView(false); getPad().getController().getView().showBusyView(true);
} }
}); });
media = new Media(path.toUri().toString()); media = new Media(path.toUri().toString());
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment