Skip to content

Commit

Permalink
Update 51 Vol 2
Browse files Browse the repository at this point in the history
Update 51 is released :)
  • Loading branch information
goxr3plus committed Mar 2, 2017
1 parent 7027dee commit ce76b9b
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 9 deletions.
2 changes: 1 addition & 1 deletion XR3PlayerUpdatePage.html
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@
<b>ChangeLog</b> :
</p>
<p class="changelog">
<br>*Layout Bug Fixes <br>Preparation for adding NOSQL KEY
<br>*Layout Bug Fixes <br>*Preparation for adding NOSQL KEY
VALUE database <br>*Wonderful new controls <br>*Style
Improvements
</p>
Expand Down
2 changes: 1 addition & 1 deletion src/application/AboutWindowController.java
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ private void initialize() {
close.setOnAction(a -> window.close());

// --visitWebsite
visitWebsite.setOnAction(a -> ActionTool.openWebSite("http://goxr3plus.co.nf/html5/index.html"));
visitWebsite.setOnAction(a -> ActionTool.openWebSite("http://goxr3plus.co.nf"));

// --reportBug
reportBug.setOnAction(a -> ActionTool.openWebSite("https://github.com/goxr3plus/XR3Player/issues"));
Expand Down
15 changes: 8 additions & 7 deletions src/application/TopBar.java
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,8 @@ public class TopBar extends BorderPane {
CPUsage cpUsage = new CPUsage();

/**
* The current Window Mode that means if the application is on <b> LibraryMode </b> or in <b>DJMode </b>.
* The current Window Mode that means if the application is on <b>
* LibraryMode </b> or in <b>DJMode </b>.
*/
private WindowMode windowMode = WindowMode.LIBRARYMODE;

Expand Down Expand Up @@ -124,11 +125,11 @@ private void initialize() {
else
cpUsage.restartUpdater();
});
//cpuLabel

// cpuLabel
cpuLabel.visibleProperty().bind(cpUsage.getUpdateService().runningProperty().not());
//cpuUsage

// cpuUsage
cpUsage.visibleProperty().bind(cpuLabel.visibleProperty().not());
cpUsage.restartUpdater();

Expand All @@ -141,7 +142,7 @@ private void initialize() {
// aboutSection
aboutSection.setOnAction(a -> Main.aboutWindow.showWindow());

//donation
// donation
donation.setOnAction(a -> ActionTool.openWebSite("https://www.paypal.me/GOXR3PLUSCOMPANY"));

// restartButton
Expand Down Expand Up @@ -215,7 +216,7 @@ private void initialize() {
public void addXR3LabelBinding() {
// xr3Label
StringBinding binding = Bindings.createStringBinding(
() -> MessageFormat.format(">-XR3Player V." + Main.currentVersion + "-< Width=[{0}],Height=[{1}]",
() -> MessageFormat.format(">-XR3Player V.{0} -< Width=[{1}],Height=[{2}]", Main.currentVersion,
Main.window.getWidth(), Main.window.getHeight()),
Main.window.widthProperty(), Main.window.heightProperty());
xr3Label.textProperty().bind(binding);
Expand Down

0 comments on commit ce76b9b

Please sign in to comment.