Skip to content

Commit

Permalink
Update Close button to fix issue of the app not closing properly
Browse files Browse the repository at this point in the history
  • Loading branch information
prak132 committed Jan 2, 2025
1 parent 8b5ca8a commit 433af05
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/main/java/com/funkylogclient/FunkyLogs.java
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public class FunkyLogs extends Application {
@Override
public void start(Stage primaryStage) {
FunkyLogSorter.makeNewLogFile();
primaryStage.setTitle("FunkyLogs v1.1.2");
primaryStage.setTitle("FunkyLogs v1.1.3");

root = new BorderPane();
root.getStyleClass().add("root");
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/funkylogclient/SidebarTopSection.java
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public static HBox getTopSection(URL logoURL, URL exitImgURL, Stage primaryStage
hoverColorAdjust.setBrightness(0.5);

exitImgBox.setOnMouseClicked((MouseEvent e) -> {
primaryStage.close();
System.exit(0);
});
exitImgBox.setOnMouseEntered((MouseEvent e) -> {
exitImage.setEffect(hoverColorAdjust);
Expand Down

0 comments on commit 433af05

Please sign in to comment.