Skip to content
Snippets Groups Projects
Commit 29683842 authored by Tobias Ullerich's avatar Tobias Ullerich
Browse files

Add icon to player view

parent b9bb0d05
No related branches found
No related tags found
No related merge requests found
...@@ -3,6 +3,7 @@ package de.tobias.playpad.plugin.content.player ...@@ -3,6 +3,7 @@ package de.tobias.playpad.plugin.content.player
import de.thecodelabs.logger.Logger import de.thecodelabs.logger.Logger
import de.thecodelabs.utils.ui.size.IgnoreStageSizing import de.thecodelabs.utils.ui.size.IgnoreStageSizing
import de.thecodelabs.utils.ui.{NVC, NVCStage} import de.thecodelabs.utils.ui.{NVC, NVCStage}
import de.tobias.playpad.PlayPadPlugin
import de.tobias.playpad.plugin.content.settings.{Zone, ZoneConfiguration} import de.tobias.playpad.plugin.content.settings.{Zone, ZoneConfiguration}
import de.tobias.playpad.project.page.PadIndex import de.tobias.playpad.project.page.PadIndex
import javafx.geometry.Insets import javafx.geometry.Insets
...@@ -35,6 +36,7 @@ class ContentPlayerViewController extends NVC { ...@@ -35,6 +36,7 @@ class ContentPlayerViewController extends NVC {
stage.setAlwaysOnTop(true) stage.setAlwaysOnTop(true)
stage.getScene.setFill(Color.BLACK) stage.getScene.setFill(Color.BLACK)
stage.getIcons.add(PlayPadPlugin.getInstance().getIcon)
} }
def showMediaPlayer(padIndex: PadIndex, mediaPlayer: MediaPlayer, zones: Seq[Zone]): Unit = { def showMediaPlayer(padIndex: PadIndex, mediaPlayer: MediaPlayer, zones: Seq[Zone]): Unit = {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment