From 251524cc3d546c2158ad7019b226ef34a1565c70 Mon Sep 17 00:00:00 2001 From: iMoHax Date: Sat, 8 Nov 2014 20:13:41 +0300 Subject: [PATCH] fix icons --- client/src/main/java/ru/trader/view/support/RouteNode.java | 4 ++-- .../main/java/ru/trader/view/support/cells/EditOfferCell.java | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/client/src/main/java/ru/trader/view/support/RouteNode.java b/client/src/main/java/ru/trader/view/support/RouteNode.java index 60d7a53..b2845f2 100644 --- a/client/src/main/java/ru/trader/view/support/RouteNode.java +++ b/client/src/main/java/ru/trader/view/support/RouteNode.java @@ -46,7 +46,7 @@ public class RouteNode { p = p.getNext(); if (cargo == null && p.getBest() != null){ cargo = p.getBest(); - icons.getChildren().add(Glyph.create("FontAwesome|UPLOAD_ALT")); + icons.getChildren().add(Glyph.create("FontAwesome|UPLOAD")); } if (p.isRefill()) icons.getChildren().add(Glyph.create("FontAwesome|REFRESH")); @@ -75,7 +75,7 @@ public class RouteNode { if (cargo != null && cargo.isBuyer(p.get())){ v.getChildren().add(new Text(String.format(" (%+.0f) ", cargo.getProfit()))); cargo = null; - icons.getChildren().add(Glyph.create("FontAwesome|DOWNLOAD_ALT")); + icons.getChildren().add(Glyph.create("FontAwesome|DOWNLOAD")); } } node.getChildren().addAll(v, icons); diff --git a/client/src/main/java/ru/trader/view/support/cells/EditOfferCell.java b/client/src/main/java/ru/trader/view/support/cells/EditOfferCell.java index cb2aa56..6f9e7b8 100644 --- a/client/src/main/java/ru/trader/view/support/cells/EditOfferCell.java +++ b/client/src/main/java/ru/trader/view/support/cells/EditOfferCell.java @@ -47,7 +47,7 @@ public class EditOfferCell extends TextFieldCell { Platform.runLater(() -> { if (isSell) {