server

Clone or download

Removed unused sout lines, updated selected action box UI

Modified Files

--- 'a/src/main/java/com/stream_pi/server/window/dashboard/actiongridpane/ActionBox.java'
+++ b/src/main/java/com/stream_pi/server/window/dashboard/actiongridpane/ActionBox.java
@@ -150,7 +150,6 @@ public class ActionBox extends StackPane
getCol()));
- System.out.println("@@#$#$#$ :"+newAction.getProfileID());
newAction.setParent(actionGridPaneListener.getCurrentParent());
newAction.setSocketAddressForClient(actionGridPaneListener.getClientConnection().getRemoteSocketAddress());
@@ -513,7 +512,6 @@ public class ActionBox extends StackPane
public void fakeToggle(boolean isON)
{
- System.out.println("CURRENT ICONS : "+action.getCurrentIconState());
String[] toggleStatesHiddenStatus = action.getCurrentIconState().split("__");
boolean isToggleOffHidden = toggleStatesHiddenStatus[0].equals("true");
@@ -592,14 +590,12 @@ public class ActionBox extends StackPane
public void setDisplayTextFontColour(String colour)
{
- System.out.println("COLOr : "+colour);
if(!colour.isEmpty())
displayTextLabel.setStyle("-fx-text-fill : "+colour+";");
}
public void setBackgroundColour(String colour)
{
- System.out.println("COLOr : "+colour);
if(!colour.isEmpty())
setStyle("-fx-background-color : "+colour);
}
--- 'a/src/main/resources/com/stream_pi/server/style.css'
+++ b/src/main/resources/com/stream_pi/server/style.css
@@ -286,5 +286,6 @@
.action_box_selected
{
- -fx-effect: dropshadow(gaussian, rgba(0, 0, 0, 0.3), 10, 0.5, 0.0, 0.0);
+ -fx-border-width: 4;
+ -fx-border-color:orange;
}
\ No newline at end of file