fix icons
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -47,7 +47,7 @@ public class EditOfferCell extends TextFieldCell<StationUpdater.FakeOffer, Doubl
|
||||
Text diff = new Text(String.format(" (%+.0f)", d));
|
||||
hBox.getChildren().add(diff);
|
||||
}
|
||||
Glyph glyph = Glyph.create("FontAwesome|REMOVE");
|
||||
Glyph glyph = Glyph.create("FontAwesome|TIMES");
|
||||
glyph.addEventFilter(MouseEvent.MOUSE_CLICKED, (e) -> {
|
||||
Platform.runLater(() -> {
|
||||
if (isSell) {
|
||||
|
||||
Reference in New Issue
Block a user