mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-15 01:07:42 +00:00
Merge pull request #293 from jawallace/fxvideobuttons
Removed color from FX video controls.
This commit is contained in:
commit
706a0799bb
@ -343,15 +343,6 @@ public class FXVideoPanel extends MediaViewVideoPanel {
|
||||
|
||||
private static final String STOP_TEXT = "X";
|
||||
|
||||
/** CSS-formatted skin for pauseButton when showing PLAY_TEXT. **/
|
||||
private static final String PLAY_STYLE = "-fx-text-fill: green;";
|
||||
|
||||
/** CSS-formatted skin for pauseButton when showing PAUSE_TEXT. **/
|
||||
private static final String PAUSE_STYLE = "-fx-font-weight: bolder;";
|
||||
|
||||
/** CSS-formatted skin for stopButton. **/
|
||||
private static final String STOP_STYLE = "-fx-text-fill: red; -fx-font-weight: bold;";
|
||||
|
||||
public MediaPane() {
|
||||
// Video Display
|
||||
mediaViewPane = new HBox();
|
||||
@ -368,9 +359,7 @@ public class FXVideoPanel extends MediaViewVideoPanel {
|
||||
mediaTools.setPadding(new Insets(5, 10, 5, 10));
|
||||
|
||||
pauseButton = new Button(PLAY_TEXT);
|
||||
pauseButton.setStyle(PLAY_STYLE);
|
||||
stopButton = new Button(STOP_TEXT);
|
||||
stopButton.setStyle(STOP_STYLE);
|
||||
mediaTools.getChildren().add(pauseButton);
|
||||
mediaTools.getChildren().add(new Label(" "));
|
||||
mediaTools.getChildren().add(stopButton);
|
||||
@ -670,7 +659,6 @@ public class FXVideoPanel extends MediaViewVideoPanel {
|
||||
@Override
|
||||
public void run() {
|
||||
pauseButton.setText(PLAY_TEXT);
|
||||
pauseButton.setStyle(PLAY_STYLE);
|
||||
}
|
||||
}
|
||||
|
||||
@ -681,7 +669,6 @@ public class FXVideoPanel extends MediaViewVideoPanel {
|
||||
@Override
|
||||
public void run() {
|
||||
pauseButton.setText(PAUSE_TEXT);
|
||||
pauseButton.setStyle(PAUSE_STYLE);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user